Arguments
string
required
The key of the sorted set
Response
The number of elements removed. Defaults to 1.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const popped = await redis.zpopmax("key", 4);
Removes and returns up to count members with the highest scores in the sorted set stored at key.
const popped = await redis.zpopmax("key", 4);
Was this page helpful?