-
Notifications
You must be signed in to change notification settings - Fork 53
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
Python: Add PFADD
command.
#1315
Python: Add PFADD
command.
#1315
Conversation
* Add `PFADD` command. Signed-off-by: Yury-Fridlyand <[email protected]> * BLACK I HATE YOU Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Update CHANGELOG.md Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]>
…PFADD Signed-off-by: Yury-Fridlyand <[email protected]>
Adds all elements to the HyperLogLog data structure stored at the specified `key`. | ||
Creates a new structure if the `key` does not exist. | ||
|
||
When no `elements` are provided, and `key` exists and is a HyperLogLog, then no operation is performed. |
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.
should that mean that elements are optional? or just passing an empty list?
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.
I think pptional is for commands which have multiple cmd formats, like set
: SET key value [NX | XX] [GET] ...
Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Shoham Elias <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
* Python: Add `PFADD` command. (#229) * Add `PFADD` command. Signed-off-by: Yury-Fridlyand <[email protected]> * BLACK I HATE YOU Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Update CHANGELOG.md Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> * Apply suggestions from code review Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Shoham Elias <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: Shoham Elias <[email protected]>
Issue #, if available:
N/A
Description of changes:
ref #1221
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.