-
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: adds SISMEMBER command #972
Conversation
31a61f6
to
7b647dd
Compare
member (str): The member to check for existence in the set. | ||
|
||
Returns: | ||
int: 1 if the member exists in the set, 0 otherwise. |
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.
same as in the HSETNX PR - can we parse this command response in rust and return a boolean instead of an int?
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 will
|
||
Returns: | ||
int: 1 if the member exists in the set, 0 otherwise. | ||
If `key` is not a set, it is treated an an empty set and the command returns 0. |
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.
If key
is not a set, it is treated an an empty => If key
is not a set, it is treated as an empty s
7b647dd
to
b4d8c1b
Compare
b4d8c1b
to
b0fd360
Compare
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.