redis_scard
Returns the number of elements in a Redis set. Specify the set key to retrieve its cardinality.
Instructions
Get the size of a set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The set key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |