-
Notifications
You must be signed in to change notification settings - Fork 59
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
Node: ZINTER and ZUNION commands #1556
Conversation
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.
- Add changelog entry
- Add cross slot test
client.zinterstore("abc", ["zxy", "lkn"]), | ||
client.zunion(["abc", "zxy", "lkn"]), | ||
client.zunionWithScores(["abc", "zxy", "lkn"]), |
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.
nit: add with version check (see line 304)
Signed-off-by: Adar Ovadia <[email protected]>
Signed-off-by: Adar Ovadia <[email protected]>
Signed-off-by: Adar Ovadia <[email protected]>
Signed-off-by: Adar Ovadia <[email protected]>
Signed-off-by: Adar Ovadia <[email protected]>
Signed-off-by: Adar Ovadia <[email protected]>
* string[] - for keys only. | ||
* KeyWeight[] - for weighted keys with score multipliers. |
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.
Can you format this as a list please?
@@ -772,6 +774,22 @@ export async function transactionTest( | |||
responseData.push(['zmscore(key12, ["two", "one"]', [2.0, 1.0]]); | |||
baseTransaction.zinterstore(key12, [key12, key13]); | |||
responseData.push(["zinterstore(key12, [key12, key13])", 0]); | |||
baseTransaction.zadd(key25, { one: 1, two: 2 }); |
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.
Add version check
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.
Created a new PR with the changes to both rebase and address comments #2146
Closing as #2146 took its place. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.