APPEND
key value |
BITCOUNT
key [start end] |
BITOP
operation destkey key [key ...] |
BITPOS
key bit [start] [end] |
DECR
key |
DECRBY
key decrement |
GET
key |
GETBIT
key offset |
GETRANGE
key start end |
GETSET
key value |
INCR
key |
INCRBY
key value [key value ...] |
INCRBYFLOAT
key value [key value ...] |
MGET
key value [key value ...] |
MSET
key value [key value ...] |
MSETNX
key value [key value ...] |
PSETEX
key milliseconds value |
SET
key value [EX seconds] [PX milliseconds] [NX|XX] |
SETBIT
key offset value |
SETEX
key seconds value |
SETNX
key value |
SETRANGE
key offset value |
STRLEN
key |
HDEL
key field [field ...] |
HEXISTS
key field |
HGET
key field |
HGETALL
key |
HINCRBY
key field increment |
HINCRBYFLOAT
key field increment |
HKEYS
key |
HLEN
key |
HMGET
key field [field ...] |
HMSET
key field value [field value ...] |
HSET
key field value |
HSETNX
key field value |
HSTRLEN
key field |
HVALS
key |
HSCAN
key cursor [MATCH pattern] [COUNT count] |
BLPOP
key [key ...] timeout |
BRPOP
key [key ...] timeout |
BRPOPLPUSH
source destination timeout |
LINDEX
key index |
LINSERT
key BEFORE|AFTER pivot value |
LLEN
key |
LPOP
key |
LPUSH
key value [value ...] |
LPUSHX
key value |
LRANGE
key start stop |
LREM
key count value |
LSET
key index value |
LTRIM
key start stop |
RPOP
key |
RPOPLPUSH
source destination |
RPUSH
key value [value ...] |
RPUSHX
key value |
SADD
ey member [member ...] |
SCARD
key |
SDIFF
key [key ...] |
SDIFFSTORE
destination key [key ...] |
SINTER
key [key ...] |
SINTERSTORE
destination key [key ...] |
SISMEMBER
key member |
SMEMBERS
key |
SMOVE
source destination member |
SPOP
key [count] |
SRANDMEMBER
key [count] |
SREM
key member [member ...] |
SUNION
key [key ...] |
SUNIONSTORE
destination key [key ...] |
SSCAN
key cursor [MATCH pattern] [COUNT count] |
ZADD
key score member [[score member] [score member] ...] |
ZCARD
key |
ZCOUNT
key min max |
ZINCRBY
key increment member |
ZINTERSTORE
destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
ZLEXCOUNT
key min max |
ZRANGE
key start stop [WITHSCORES] |
ZRANGEBYLEX
key min max [LIMIT offset count] |
ZREVRANGEBYLEX
key max min [LIMIT offset count] |
ZRANGEBYSCORE
key min max [WITHSCORES] [LIMIT offset count] |
ZRANK
key member |
ZREM
key member [member ...] |
ZREMRANGEBYLEX
key start stop |
ZREMRANGEBYRANK
key |
ZREMRANGEBYSCORE
key min max |
ZREVRANGE
key start stop [WITHSCORES] |
ZREVRANGEBYSCORE
key max min [WITHSCORES] [LIMIT offset count] |
ZREVRANK
key member |
ZSCORE
key member |
ZUNIONSTORE
destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX] |
ZSCAN
key cursor [MATCH pattern] [COUNT count] |
GEOADD
key longitude latitude member [longitude latitude member ...] |
GEODECODE | GEOENCODE |
GEOHASH
key member [member ...] |
GEOPOS
key member [member ...] |
GEODIST
key member1 member2 [unit] |
GEORADIUS
key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] |
GEORADIUSBYMEMBER
key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] |
PSUBSCRIBE
pattern [pattern ...] |
PUBSUB
subcommand [argument [argument ...]] |
PUBLISH
channel message |
PUNSUBSCRIBE
[pattern [pattern ...]] |
SUBSCRIBE
channel [channel ...] |
UNSUBSCRIBE
channel [channel ...]] |
DEL
key [key ...] |
DUMP
key |
EXISTS
key [key ...] |
EXPIRE
key seconds |
EXPIREAT
key timestamp |
KEYS
pattern |
MIGRATE
host port key destination-db timeout [COPY] [REPLACE] |
MOVE
key db |
OBJECT
subcommand [arguments [arguments ...]] |
PERSIST
key |
PEXPIRE
key milliseconds |
PEXPIREAT
key milliseconds-timestamp |
PTTL
key |
RANDOMKEY |
RENAME
key newkey |
RENAMENX
key newkey |
RESTORE
key ttl serialized-value [REPLACE] |
SORT
key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination] |
TTL
key |
TYPE
key |
WAIT
numslaves timeout |
SCAN
cursor [MATCH pattern] [COUNT count] |
BGREWRITEAOF | BGSAVE |
CLIENT KILL
[ip:port] [ID client-id] [TYPE normal|slave|pubsub] [ADDR ip:port] [SKIPME yes/no] |
CLIENT LIST | CLIENT GETNAME |
CLIENT PAUSE
timeout |
CLIENT REPLY
ON|OFF|SKIP |
CLIENT SETNAME
connection-name |
COMMAND |
COMMAND COUNT | COMMAND GETKEYS |
COMMAND INFO
command-name [command-name ...] |
CONFIG GET
parameter |
CONFIG REWRITE |
CONFIG SET
parameter value |
CONFIG RESETSTAT | DBSIZE |
DEBUG OBJECT
key |
DEBUG SEGFAULT | FLUSHALL | FLUSHDB |
INFO
[section] |
LASTSAVE | MONITOR |
ROLE | SAVE |
SHUTDOWN
[NOSAVE] [SAVE] |
SLAVEOF
host port |
SLOWLOG
subcommand [argument] |
SYNC |
TIME |
CLUSTER ADDSLOTS
slot [slot ...] |
CLUSTER COUNT-FAILURE-REPORTS
node-id |
CLUSTER COUNTKEYSINSLOT
slot |
CLUSTER DELSLOTS
slot [slot ...] |
CLUSTER FAILOVER
[FORCE|TAKEOVER] |
CLUSTER FORGET
node-id |
CLUSTER GETKEYSINSLOT
slot count |
CLUSTER INFO |
CLUSTER KEYSLOT
key |
CLUSTER MEET
ip port |
CLUSTER NODES |
CLUSTER REPLICATE
node-id |
CLUSTER RESET
[HARD|SOFT] |
CLUSTER SAVECONFIG |
CLUSTER SET-CONFIG-EPOCH
config-epoch |
CLUSTER SETSLOT
slot IMPORTING|MIGRATING|STABLE|NODE [node-id] |
CLUSTER SLAVES
node-id |
CLUSTER SLOTS |
READONLY | READWRITE |
EVAL
script numkeys key [key ...] arg [arg ...] |
EVALSHA
sha1 numkeys key [key ...] arg [arg ...] |
SCRIPT DEBUG
YES|SYNC|NO |
SCRIPT EXISTS
script [script ...] |
SCRIPT FLUSH | SCRIPT KILL |
SCRIPT LOAD
script |