79255473

Date: 2024-12-05 16:26:46
Score: 1
Natty:
Report link
SET keyName value NX GET

NX - Only set the key if it does not already exist.

GET - Return the old string stored at key, or nil if key did not exist. An error is returned and SET aborted if the value stored at key is not a string.

https://redis.io/docs/latest/commands/set/#options

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: iSkile