Skip to main content
Documentation
API Reference
Search
⌘K
Ask AI
⌘I
Discord
Blog
Twitter
Console
Redis
/
/
SDKs
/
Typescript
/
Commands
/
Sorted Set
ZPOPMIN
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
1 min read
Copy as Markdown
Arguments
#
key
string
required
#
The key of the sorted set
Response
#
ZPOPMAX
ZRANGE
Example
const
popped
=
await
redis.
zpopmin
(
"key"
,
4
);