You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
The
SETNX
command should be added to theKeysInterface
trait.Additional context
I known this command is regarded as deprecated and that we should use
SET
with theNX
option but I would like to prevent clients from overriding existing keys with Redis ACL which is only possible with theSETNX
command.The text was updated successfully, but these errors were encountered: