Skip to content

Commit d7be6ae

Browse files
authored
Update strings.md
Added INCR to the "Managing Counters" section
1 parent a5fcacd commit d7be6ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/develop/data-types/strings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ By default, a single Redis string can be a maximum of 512 MB.
119119

120120
### Managing counters
121121

122+
* [`INCR`]({{< relref "/commands/incr" >}}) increments counters stored at a given key by 1.
122123
* [`INCRBY`]({{< relref "/commands/incrby" >}}) atomically increments (and decrements when passing a negative number) counters stored at a given key.
123124
* Another command exists for floating point counters: [`INCRBYFLOAT`]({{< relref "/commands/incrbyfloat" >}}).
124125

0 commit comments

Comments
 (0)