Redis Command: STRLEN
Get the length of the saved string value of the
Get the length of the saved string value of the
Get substring from a string value. The substring is obtained from the specified
Decrease the value stored in
Increase the value stored in
Append the provided string
Set multiple key values if the keys do not already exist. NX represents “Not exists”. This is a very useful command if we want to set multiple key/values only if they do not already exist.
Redis MSET command details, with the Golang, Java, C#, NodeJS, PHP, Python and Ruby examples. Set string values for multiple keys. This is a very handy and useful command when we have a lot of string key/value to set.
Redis GETDEL command details, with examples in Golang, NodeJS, Java, C#, PHP, PYthon, Ruby. Get value and delete the key after that. It works similar to the GET command, just this deletes the key additionaly.
Get the value of the key and additionally set the expiration time for the key. This command can work without the expiration time part, in that case, it will behave like the “GET” command.
Get the string values of multiple keys. As we can pass multiple keys and get the values, so it is a very handy command when we work with lots of keys. This operation always returns values without any fail, as for the non-existing keys it returns nil.