redis and string | Mar 1, 2016
PSETEX
works exactly like SETEX
with the sole difference that the expire
time is specified in milliseconds instead of seconds.
redis and string | Mar 1, 2016
Sets the given keys to their respective values.
MSETNX
will not perform any operation at all even if just a single key already
exists.
redis and string | Mar 1, 2016
Sets the given keys to their respective values.
MSET
replaces existing values with new values, just as regular SET
.
See MSETNX
if you don’t want to overwrite existing values.
redis and string | Mar 1, 2016
Returns the values of all specified keys.
For every key that does not hold a string value or does not exist, the special
value nil
is returned.
Because of this, the operation never fails.
redis and string | Mar 1, 2016
Increment the string representing a floating point number stored at key
by the
specified increment
.
If the key does not exist, it is set to 0
before performing the operation.
An error is returned if one of the following conditions occur:
redis and string | Mar 1, 2016
Increments the number stored at key
by increment
.
If the key does not exist, it is set to 0
before performing the operation.
An error is returned if the key contains a value of the wrong type or contains a
string that can not be represented as integer.
This operation is limited to 64 bit signed integers.