GETDEL
Syntax
Section titled “Syntax”GETDEL key
GETDEL returns the value of the key and then deletes the key.
The command returns (nil) if the key does not exist.
Examples
Section titled “Examples”localhost:7379> SET k vOKlocalhost:7379> GETDEL kOK "v"localhost:7379> GET kOK ""