ZMSCORE
Syntax
ZMSCORE key member [member ...]
- Available since:
- Redis Open Source 6.2.0
- Time complexity:
- O(N) where N is the number of members being requested.
- ACL categories:
-
@read,@sortedset,@fast,
Returns the scores associated with the specified members in the sorted set stored at key.
For every member that does not exist in the sorted set, a nil value is returned.
Examples
Return information
One of the following:
- Nil reply: if the member does not exist in the sorted set.
- Array reply: a list of Bulk string reply member scores as double-precision floating point numbers.