Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix HRANDFIELD command when WITHVALUES is used.#2524

Merged
michael-grunder merged 1 commit into
developfrom
fix-hrandfield-command
Jul 14, 2024
Merged

Fix HRANDFIELD command when WITHVALUES is used.#2524
michael-grunder merged 1 commit into
developfrom
fix-hrandfield-command

Conversation

@michael-grunder

Copy link
Copy Markdown
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 force-pushed the fix-hrandfield-command branch from 43d93db to 872d1d2 Compare July 13, 2024 22:14
@michael-grunder michael-grunder merged commit 99f9fd8 into develop Jul 14, 2024
@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