Skip to content

Conversation

@itamarhaber
Copy link
Member

Copy link
Member

@oranagra oranagra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i only reviewed HRANDMEMBER and SRANDMEMBER.
if you choose to accept my comments, you can relay them to ZRANDMEMBER


@bulk-string-reply: without the additional `count` argument, the command returns a Bulk Reply with the randomly selected field, or `nil` when `key` does not exist.

@array-reply: when the additional `count` argument is passed, the command returns an array of fields, or an empty array when `key` does not exist. If the `WITHVALUES` modifier is used, the reply is a list fields and their values from the hash.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we wanna mention nested arrays of RESP3? or some other time?

p.s. this one could have been broken into two lines (at the period)

@oranagra oranagra added the to-be-merged should probably be merged soon label Jan 29, 2021
@itamarhaber itamarhaber merged commit 47c4105 into redis:master Jan 29, 2021
@itamarhaber itamarhaber deleted the hzrand branch January 29, 2021 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

to-be-merged should probably be merged soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants