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

[Redis 6.2] Add count argument to lpop and rpop #982

Merged
merged 1 commit into from
Jun 11, 2021
Merged

[Redis 6.2] Add count argument to lpop and rpop #982

merged 1 commit into from
Jun 11, 2021

Conversation

rhymes
Copy link
Contributor

@rhymes rhymes commented Mar 21, 2021

This PR adds the count argument to LPOP and RPOP.

According to both documentation pages, this argument is optional and alters the return value from a string to an array of strings in case elements are removed.

Closes #976
References #978

@rhymes rhymes marked this pull request as ready for review March 21, 2021 10:41
@byroot byroot merged commit 589a4e7 into redis:master Jun 11, 2021
@rhymes rhymes deleted the rhymes/redis-62-lpop-rpop-count-argument branch June 14, 2021 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LPOP count support?
2 participants