Skip to content

Commit 0d80297

Browse files
committed
document increment by
1 parent 8a41d64 commit 0d80297

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
| SET | SET key value | `SET myKey "Hello"` | "OK"|
66
| GET | GET key | `GET myKey` | "Hello"|
77
| DEL | DEL key[...key] | `DEL myKey` | 1 |
8-
| INCR | INCR key | `INCR myLikes` | n+1|
9-
| MGET | MGET key[...key] | `GET myKey myLikes invalidKey` | "Hello"</br>1</br>nil|
8+
| INCR | INCR key | `INCR myLikes` | n+1 |
9+
| MGET | MGET key[...key] | `GET myKey myLikes invalidKey` | "Hello"</br>1</br>nil |
10+
| INCRBY | INCRBY key number | `INCRBY myLikes -1` | n-1 |
11+
| INCRBYFLOAT | INCRBYFLOAT key float | `INCRBYFLOAT myLikes 0.01` | n+0.01 |
1012
<!-- | KEYS | KEYS patter* | `KEYS my*` | | -->
1113
<!-- | EXPIRE | EXPIRE key seconds | `EXPIRE myKey 10` | 1 | -->
1214
<!-- | EXISTS | EXISTS key[...key] | `EXISTS myKey myLikes` | 1, 0| -->

0 commit comments

Comments
 (0)