-
Notifications
You must be signed in to change notification settings - Fork 69
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
Go: ZDiff command added #3032
base: main
Are you sure you want to change the base?
Go: ZDiff command added #3032
Conversation
Signed-off-by: Prateek Kumar <[email protected]>
Signed-off-by: Prateek Kumar <[email protected]>
Signed-off-by: Prateek Kumar <[email protected]>
Signed-off-by: Prateek Kumar <[email protected]>
@@ -7011,3 +7011,75 @@ func (client *baseClient) Time() ([]string, error) { | |||
} | |||
return handleStringArrayResponse(result) | |||
} | |||
|
|||
// Returns the difference between the first sorted set and all the successive sorted sets.<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Returns the difference between the first sorted set and all the successive sorted sets.<br> | |
// Returns the difference between the first sorted set and all the successive sorted sets. |
|
||
// Returns the difference between the first sorted set and all the successive sorted sets.<br> | ||
// To get the elements with their scores, see `ZDiffWithScores` | ||
// When in cluster mode, all `keys` must map to the same hash slot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe put an empty line between the main command description and the cluster note?
@@ -9,6 +9,7 @@ const ( | |||
WithScore string = "WITHSCORE" // Valkey API keyword for the with score option for zrank and zrevrank commands. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does any command specifically ask for withscore without the s?
Issue link
This Pull Request is linked to issue (URL): #2972
Checklist
Before submitting the PR make sure the following are checked: