Skip to content

Commit

Permalink
couple more ordered set operations
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 30, 2011
1 parent eb8ad9b commit 7a34384
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/clj_redis/client.clj
Expand Up @@ -231,6 +231,12 @@
(defn zremrangebyscore [p ^String k ^Double start ^Double end]
(lease p (fn [^Jedis j] (.zremrangeByScore j k start end))))

(defn zinterstore [p ^String d k]
(lease p (fn [^Jedis j] (.zinterstore j d ^"[Ljava.lang.String;" (into-array k)))))

(defn zunionstore [p ^String d k]
(lease p (fn [^Jedis j] (.zunionstore j d ^"[Ljava.lang.String;" (into-array k)))))


; Hashes

Expand Down

0 comments on commit 7a34384

Please sign in to comment.