Skip to content

Commit

Permalink
RPOPLPUSH, Set, and Sorted Set Operation Support (@dcartoon)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manju Rajashekhar committed Jan 30, 2013
1 parent a635844 commit 5144e0c
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 10 deletions.
20 changes: 10 additions & 10 deletions notes/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| RPOP | Yes | RPOP key |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| RPOPLPUSH | No | RPOPLPUSH source destination |
| RPOPLPUSH | Yes* | RPOPLPUSH source destination |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| RPUSH | Yes | RPUSH key value [value ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
Expand All @@ -177,29 +177,29 @@
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SCARD | Yes | SCARD key |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SDIFF | No | SDIFF key [key ...] |
| SDIFF | Yes* | SDIFF key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SDIFFSTORE | No | SDIFFSTORE destination key [key ...] |
| SDIFFSTORE | Yes* | SDIFFSTORE destination key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SINTER | No | SINTER key [key ...] |
| SINTER | Yes* | SINTER key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SINTERSTORE | No | SINTERSTORE destination key [key ...] |
| SINTERSTORE | Yes* | SINTERSTORE destination key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SISMEMBER | Yes | SISMEMBER key member |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SMEMBERS | Yes | SMEMBERS key |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SMOVE | No | SMOVE source destination member |
| SMOVE | Yes* | SMOVE source destination member |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SPOP | Yes | SPOP key |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SRANDMEMBER | Yes | SRANDMEMBER key |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SREM | Yes | SREM key member [member ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SUNION | No | SUNION key [key ...] |
| SUNION | Yes* | SUNION key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| SUNIONSTORE | No | SUNIONSTORE destination key [key ...] |
| SUNIONSTORE | Yes* | SUNIONSTORE destination key [key ...] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+

### Sorted Sets
Expand All @@ -215,7 +215,7 @@
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| ZINCRBY | Yes | ZINCRBY key increment member |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| ZINTERSTORE | No | ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
| ZINTERSTORE | Yes* | ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| ZRANGE | Yes | ZRANGE key start stop [WITHSCORES] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
Expand All @@ -237,7 +237,7 @@
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| ZSCORE | Yes | ZSCORE key member |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
| ZUNIONSTORE | No | ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
| ZUNIONSTORE | Yes* | ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+

### Pub/Sub
Expand Down
Loading

0 comments on commit 5144e0c

Please sign in to comment.