diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/hincrbyfloat.md | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/hincrbyfloat.md')
-rw-r--r-- | iredis/data/commands/hincrbyfloat.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iredis/data/commands/hincrbyfloat.md b/iredis/data/commands/hincrbyfloat.md index fe58beb..d6eb472 100644 --- a/iredis/data/commands/hincrbyfloat.md +++ b/iredis/data/commands/hincrbyfloat.md @@ -1,11 +1,11 @@ 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: +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 field contains a value of the wrong type (not a string). -- The current field content or the specified increment are not parsable as a +* The field contains a value of the wrong type (not a string). +* The current field content or the specified increment are not parsable as a double precision floating point number. The exact behavior of this command is identical to the one of the `INCRBYFLOAT` |