Skip to content
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

SETNX #15

Closed
kappsegla opened this issue Feb 2, 2023 · 0 comments · Fixed by #67
Closed

SETNX #15

kappsegla opened this issue Feb 2, 2023 · 0 comments · Fixed by #67
Assignees
Labels
enhancement New feature or request

Comments

@kappsegla
Copy link
Contributor

kappsegla commented Feb 2, 2023

SETNX

Set key to hold string value if key does not exist. In that case, it is equal to SET. When key already holds a value, no operation is performed. SETNX is short for "SET if Not eXists".

Return
Integer reply, specifically:

1 if the key was set
0 if the key was not set

@kappsegla kappsegla added the enhancement New feature or request label Feb 2, 2023
@Henrik-Bengtsson Henrik-Bengtsson self-assigned this Feb 8, 2023
@Henrik-Bengtsson Henrik-Bengtsson linked a pull request Feb 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants