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

Fix HRANDFIELD command when WITHVALUES is used. #2524

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

michael-grunder
Copy link
Member

Redis requires the user to send a count if WITHVALUES is specified, otherwise it sees the WITHVALUES argument as the count and will error out that it's not a number.

Redis requires the user to send a count if `WITHVALUES` is specified,
otherwise it sees the `WITHVALUES` argument as the count and will error
out that it's not a number.

We can also return false if the key doesn't exist.
@michael-grunder michael-grunder merged commit 99f9fd8 into develop Jul 14, 2024
62 checks passed
@michael-grunder michael-grunder deleted the fix-hrandfield-command branch July 14, 2024 05:42
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.

2 participants