We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac4c93 commit 77d5469Copy full SHA for 77d5469
commands/getdel.md
@@ -1,9 +1,9 @@
1
Get the value of `key` and delete the key.
2
-This command is identical to `GET`, except for the fact that it also deletes the key.
+This command is similar to `GET`, except for the fact that it also deletes the key on success (if and only if the key's value type is a string).
3
4
@return
5
6
-@bulk-string-reply: the value of `key`, or `nil` when `key` does not exist.
+@bulk-string-reply: the value of `key`, `nil` when `key` does not exist, or an error if the key's value type isn't a string.
7
8
@examples
9
0 commit comments