Skip to content

Commit

Permalink
Example for new ZRANGE in CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed May 23, 2012
1 parent 09f0ded commit 2321302
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Expand Up @@ -72,6 +72,13 @@
now return an array containing `[String, Float]` pairs when
`:with_scores => true` is passed.

For example:

```ruby
redis.zrange("zset", 0, -1, :with_scores => true)
# => [["foo", 1.0], ["bar", 2.0]]
```

* The `ZINCRBY` and `ZSCORE` commands now return a `Float` score instead
of a string holding a representation of the score.

Expand Down

0 comments on commit 2321302

Please sign in to comment.