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

[Feature] Support the SETNX command #294

Open
AverageADF opened this issue Sep 7, 2024 · 0 comments · May be fixed by #295
Open

[Feature] Support the SETNX command #294

AverageADF opened this issue Sep 7, 2024 · 0 comments · May be fixed by #295
Assignees
Labels
enhancement New feature or request

Comments

@AverageADF
Copy link

Describe the solution you'd like
The SETNX command should be added to the KeysInterface trait.

Additional context
I known this command is regarded as deprecated and that we should use SET with the NX option but I would like to prevent clients from overriding existing keys with Redis ACL which is only possible with the SETNX command.

@AverageADF AverageADF added the enhancement New feature or request label Sep 7, 2024
@AverageADF AverageADF linked a pull request Sep 9, 2024 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