HINCRBYFLOAT key field increment
- Available since:
- Time complexity:
- ACL categories:
Increment the specified
field of a hash stored at
key, and representing a
floating point number, by the specified
increment. If the increment value
is negative, the result is to have the hash field value decremented instead of incremented.
If the field does not exist, it is set to
0 before performing the operation.
An error is returned if one of the following conditions occur:
- The key contains a value of the wrong type (not a hash).
- The current field content or the specified increment are not parsable as a double precision floating point number.
The command is always propagated in the replication link and the Append Only
File as a
HSET operation, so that differences in the underlying floating point
math implementation will not be sources of inconsistency.