fred.rs icon indicating copy to clipboard operation
fred.rs copied to clipboard

[Feature] Support the SETNX command

Open AverageADF opened this issue 1 year ago • 0 comments

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 avatar Sep 07 '24 21:09 AverageADF