zmscore
This block is part of the redis group and was last modified in core v15.0.3.
Redis Key Selection Required
This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.
zmscore v15.0.3 Reads the scores of several members of a sorted set in one call.
- flow
- set
valuerequiredkey of the sorted set
- members
arrayrequiredthe members to look up, at most 256
- flow
- scores
array - missing
array - object
object - success
condition - error
value - key
value
members is an array of 1 to 256 members (strings or numbers, each at most 512 bytes). scores has one number per member in the same order, nothing where the set does not hold the member; missing lists those members; object holds the scores by member. Works on every Redis version: it does not use the ZMSCORE command (Redis 6.2), one fixed script reads the scores in one step. Refused without reading: MISSING_MEMBERS, TOO_MANY_ITEMS (over 256), INVALID_ITEM. A key of another type is an error (WRONGTYPE ...), never an empty answer.
redis zmscore |
zmscore |
scores of members |
Version history
Introduced in v15.0.3.
Service documentation
External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.Back to
redis Return to the main group to view all sub-groups Back to redis sorted sets Return to the group to view all blocks within this group