Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpopmin doesn't supports count param #2881

Open
lucalamo opened this issue Dec 27, 2024 · 1 comment
Open

zpopmin doesn't supports count param #2881

lucalamo opened this issue Dec 27, 2024 · 1 comment

Comments

@lucalamo
Copy link

Description

zpopmin doesn't supports count param

Node.js Version

18.17.1

Redis Server Version

7.4.0

Node Redis Version

4.6.13

Platform

ubuntu

Logs

No response

@lucalamo lucalamo added the Bug label Dec 27, 2024
@bobymicroby
Copy link
Member

Hi @lucalamo,

You're correct - zPopMin currently doesn't support the count parameter. To maintain backwards compatibility (since zPopMin is typed to return a single object rather than an sorted array), we've introduced a separate command called zPopMinCount that handles multiple removals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants