redis and string | Mar 1, 2016
Increments the number stored at key by one.
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.
redis and string | Mar 1, 2016
Atomically sets key to value and returns the old value stored at key.
Returns an error when key exists but does not hold a string value.
redis and string | Mar 1, 2016
Warning: this command was renamed to GETRANGE, it is called SUBSTR in
Redis versions <= 2.0.
redis and string | Mar 1, 2016
Returns the bit value at offset in the string value stored at key.
More »redis and string | Mar 1, 2016
Get the value of key.
If the key does not exist the special value nil is returned.
An error is returned if the value stored at key is not a string, because GET
only handles string values.
redis and string | Mar 1, 2016
Decrements the number stored at key by decrement.
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.