Navigation Menu

Skip to content

Commit

Permalink
Document different return type with INCR option
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Jul 29, 2015
1 parent 01300a2 commit 380ad33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commands/zadd.md
Expand Up @@ -61,6 +61,10 @@ If the user inserts all the elements in a sorted set with the same score (for ex
* The number of elements added to the sorted sets, not including elements
already existing for which the score was updated.

If the `INCR` option is specified, the return value will be @bulk-string-reply:

* the new score of `member` (a double precision floating point number), represented as string.

@history

* `>= 2.4`: Accepts multiple elements.
Expand Down

0 comments on commit 380ad33

Please sign in to comment.