Skip to content

Commit 77d5469

Browse files
authored
improve GETDEL description (redis#1508)
1 parent cac4c93 commit 77d5469

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/getdel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
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.
2+
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).
33

44
@return
55

6-
@bulk-string-reply: the value of `key`, or `nil` when `key` does not exist.
6+
@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.
77

88
@examples
99

0 commit comments

Comments
 (0)