Skip to content

Commit 647a020

Browse files
saritonindwdougherty
authored andcommitted
Update strings.md (#835)
* Update strings.md Added INCR to the "Managing Counters" section * Update content/develop/data-types/strings.md --------- Co-authored-by: David Dougherty <[email protected]>
1 parent 61b310b commit 647a020

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" >}}) atomically 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)