-
Notifications
You must be signed in to change notification settings - Fork 61
Redis Commands Support
suifeng edited this page Jun 29, 2015
·
5 revisions
- DEL key [key ...]
- DUMP key
- EXISTS 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]
- SCAN cursor [MATCH pattern] [COUNT count]
- SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]
- TTL key
- TYPE key
- WAIT numslaves timeout
- 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 ...]
- HSCAN key cursor [MATCH pattern] [COUNT count]
- HSET key field value
- HSETNX key field value
- HSTRLEN key field
- HVALS key
- 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 key 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 ...]
- SSCAN key cursor [MATCH pattern] [COUNT count]
- SUNION key [key ...]
- SUNIONSTORE destination key [key ...]
- ZADD key [NX|XX] [CH] [INCR] 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]
- ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
- ZRANK key member
- ZREM key member [member ...]
- ZREMRANGEBYLEX key min max
- ZREMRANGEBYRANK key start stop
- ZREMRANGEBYSCORE key min max
- ZREVRANGE key start stop [WITHSCORES]
- ZREVRANGEBYLEX key max min [LIMIT offset count]
- ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
- ZREVRANK key member
- ZSCAN key cursor [MATCH pattern] [COUNT count]
- ZSCORE key member
- ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
- 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 increment
- INCRBYFLOAT key increment
- MGET key [key ...]
- 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
- BGREWRITEAOF
- BGSAVE
- CLIENT GETNAME
- CLIENT KILL [ip:port] [ID client-id] [TYPE normal|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]
- CLIENT LIST
- CLIENT PAUSE timeout
- CLIENT SETNAME connection-name
- COMMAND
- COMMAND COUNT
- COMMAND GETKEYS
- COMMAND INFO command-name [command-name ...]
- CONFIG GET parameter
- CONFIG RESETSTAT
- CONFIG REWRITE
- CONFIG SET parameter value
- 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
- PSUBSCRIBE pattern [pattern ...]
- PUBLISH channel message
- PUBSUB subcommand [argument [argument ...]]
- PUNSUBSCRIBE [pattern [pattern ...]]
- SUBSCRIBE channel [channel ...]
- UNSUBSCRIBE [channel [channel ...]]