Skip to main content

Supported commands

String commands

CommandSupported OR NotDesc
append
decr
decrby
get
getex
getrange
substr
getset
incr
incrby
incrbyfloat
mget
mset
msetnx
psetexprecision is in seconds if old encoding is used (see #1033)
set
setex
setnx
setrange
strlen
cassee #415
cadsee #415
getdel

Hash commands

CommandSupported OR NotDesc
hdel
hexists
hget
hgetall
hincrby
hincrbyfloat
hkeys
hlen
hmget
hmset
hrangebylex
hset
hsetnx
hstrlen
hvals
hscan

List commands

CommandSupported OR NotDesc
blpop
brpop
brpoplpushX
lindexO(N) operation, do not use it when list is extremely long
linsertO(N) operation, do not use it when list is extremely long
llen
lpop
lpush
lpushx
lrange
lremO(N) operation, do not use it when list is extremely long
lset
ltrimO(N) operation, do not use it when list is extremely long
rpop
rpoplpush
rpush
rpushx
lmove

Set commands

CommandSupported OR NotDesc
sadd
scard
sdiff
sdiffstore
sinter
sinterstore
sismember
smembers
smove
spoppop the member with key order
srandmemberalways first N members if not changed
srem
sunion
sunionstore
sscan

ZSet commands

CommandSupported OR NotDesc
bzpopminX
bzpopmaxX
zadd
zcard
zcount
zincrby
zinterstore
zlexcount
zpopmin
zpopmax
zrange
zrangebylex
zrangebyscore
zrank
zrem
zremrangebylex
zremrangebyrank
zremrangebyscore
zrevrank
zrevrange
zrevrangebylex
zrevrangebyscore
zscan
zscore
zmscoremulti zscore
zunionstore

Key commands

CommandSupported OR NotDesc
del
dumpX
exists
expire
expireat
keys
persist
pexpireprecision is in seconds if old encoding is used (see #1033)
pexpireatprecision is in seconds if old encoding is used (see #1033)
pttlprecision is in seconds if old encoding is used (see #1033)
ttl
type
scan
renameX
randomkey
unlink

Bit commands

CommandSupported OR NotDesc
getbit
setbit
bitcount
bitpos
bitfieldX
bitop
note

String and bitmap are different types in Kvrocks, so you cannot do bit operations with string, and vice versa.

Script commands

CommandSupported OR NotDesc
eval
evalsha
scriptscript kill and debug subcommand are not supported

PubSub commands

CommandSupported OR NotDesc
psubscribe
publish
pubsub
punsubscribe
subscribe
unsubscribe

Transaction commands

CommandSupported OR NotDesc
multi
exec
discard
watch
unwatch

SortedInt commands

CommandSupported OR NotDesc
sicardlike scard
siaddlike sadd, but member is int
siremlike srem, but member is int
sirangesirange key offset count cursor since_id
sirevrangesirevrange key offset count cursor max_id
siexistssiexists key member1 (member2 ...)
sirangebyvaluesirangebyvalue key min max (LIMIT offset count)
sirevrangebyvaluesirevrangebyvalue key max min (LIMIT offset count)

Cluster commands

These commands are subcommands for CLUSTER, using as CLUSTER INFO etc.

SubcommandSupported OR NotDesc
info
nodes
slots
keyslot

Server commands

CommandSupported OR NotDesc
monitor
info
role
config
dbsize
diskdisk usage user_key to get the disk usage of the user_key, see #874
namespace
flushdb
flushall
command
client
auth
quit
slowlog
perflog
hello
note

The db size is updated async after execute dbsize scan command.

GEO commands

CommandSupported OR NotDesc
geoadd
geodist
geohash
geopos
georadius
georadiusbymember

Stream commands

CommandSupported OR NotDesc
xadd
xdel
xinfoSTREAM only
xlen
xrange
xread
xrevrange
xtrim
xclaimX
xautoclaimX
xgroupX
xpendingX
xreadgroupX
xsetid

Hyperloglog commands

Not supported yet.

Function commands

Not supported yet.