Skip to content

Latest commit

 

History

History
295 lines (276 loc) · 102 KB

cts_refer.md

File metadata and controls

295 lines (276 loc) · 102 KB
  1. The table content consists of the commands supported by CTS (resp-compatibility) and their version information
  2. This table is generated based on the command JSON format description of Redis 7.2. If you have any doubts, you can refer to the relevant files
  3. If the table information does not match the actual testing, please submit an Issue :)
  • Supported major versions
    • 1.0
    • 2.8
    • 3.2
    • 4.0
    • 5.0
    • 6.0
    • 6.2
    • 7.0
    • 7.2
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
generic del
unlink
rename
renamenx
randomkey
exists
ttl
pttl
expire ['7.0.0', 'Added options: NX, XX, GT and LT.']
expireat ['7.0.0', 'Added options: NX, XX, GT and LT.']
pexpire ['7.0.0', 'Added options: NX, XX, GT and LT.']
pexpireat ['7.0.0', 'Added options: NX, XX, GT and LT.']
expiretime
pexpiretime
persist
dump
touch
restore ['5.0.0', 'Added the ABSTTL modifier.']/['5.0.0', 'Added the IDLETIME and FREQ options.']
scan ['6.0.0', 'Added the TYPE subcommand.']
keys
move
copy
type
wait
sort
sort_ro
migrate ['6.0.0', 'Added the AUTH2 option.']
object freq
refcount
idletime
encoding
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
server acl whoami
setuser ['6.2.0', 'Added Pub/Sub channel patterns.'] ['7.0.0', 'Added selectors and key based permissions.']
deluser
users
log ['7.2.0', 'Added entry ID, timestamp created, and timestamp last updated.']
dryrun
config get ['7.0.0', 'Added the ability to pass multiple pattern parameters in one call']
set ['7.0.0', 'Added the ability to pass multiple pattern parameters in one call']
resetstat
module list
bgsave
bgrewriteaof
dbsize
swapdb
slaveof
flushall ['4.0.0', 'Added the ASYNC flushing mode modifier.'] ['6.2.0', 'Added the SYNC flushing mode modifier.']
flushdb ['4.0.0', 'Added the ASYNC flushing mode modifier.'] ['6.2.0', 'Added the SYNC flushing mode modifier.']
replicaof
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
string set ['6.0.0', 'Added the KEEPTTL option.'] ['6.2.0', 'Added the GET, EXAT and PXAT option.'] ['7.0.0', 'Allowed the NX and GET options to be used together.']
setex
setnx
psetex
append
get
getex
getdel
substr
strlen
getset
setrange
getrange
incr
decr
incrby
decrby
incrbyfloat
mset
msetnx
mget
lcs
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
bitmap setbit
getbit
bitop
bitpos ['7.0.0', 'Added the BYTE / BIT option.']
bitcount ['7.0.0', 'Added the BYTE / BIT option.']
bitfield
bitfield_ro
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
transaction discard
exec
multi
unwatch
watch
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
hyperloglog pfadd
pfcount
pfmerge
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
list lset
llen
lpush
lpushx ['4.0.0', 'Accepts multiple element arguments.']
lindex
lpos
lrem
lrange
rpush
ltrim
linsert
rpushx ['4.0.0', 'Accepts multiple element arguments.']
rpoplpush
lmove
lmpop
rpop ['6.2.0', 'Added the count argument.']
lpop ['6.2.0', 'Added the count argument.']
brpop ['6.0.0', 'timeout is interpreted as a double instead of an integer.']
blpop ['6.0.0', 'timeout is interpreted as a double instead of an integer.']
brpoplpush ['6.0.0', 'timeout is interpreted as a double instead of an integer.']
blmove
blmpop
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
hash hset ['4.0.0', 'Accepts multiple field and value arguments.']
hsetnx
hget
hstrlen
hexists
hlen
hkeys
hvals
hgetall
hincrby
hincrbyfloat
hscan
hrandfield
hdel
hmset
hmget
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
set sadd
srem
sscan
scard
spop ['3.2.0', 'Added the count argument.']
srandmember
smembers
sismember
smismember
sdiffstore
sinterstore
sunionstore
sdiff
sinter
sunion
smove
sintercard
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
sorted set zadd ['6.2.0', 'Added the GT and LT options.']
zrem
zcard
zrank ['7.2.0', 'Added the optional WITHSCORE argument.']
zrevrank ['7.2.0', 'Added the optional WITHSCORE argument.']
zcount
zincrby
zscan
zrandmember
zremrangebylex
zremrangebyscore
zremrangebyrank
zlexcount
zrangebylex
zrevrangebylex
zrangebyscore
zrevrangebyscore
zscore
zmscore
zpopmax
zpopmin
zmpop
bzmpop
zintercard
bzpopmin ['6.0.0', 'timeout is interpreted as a double instead of an integer.']
bzpopmax ['6.0.0', 'timeout is interpreted as a double instead of an integer.']
zdiffstore
zinterstore
zunionstore
zrangestore
zdiff
zinter
zunion
zrange ['6.2.0', 'Added the REV, BYSCORE, BYLEX and LIMIT options.']
zrevrange
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
geo geoadd ['6.2.0', 'Added the CH, NX and XX options.']
geohash
geodist
geopos
georadius ['6.2.0', 'Added the ANY option for COUNT.'] ['7.0.0', 'Added support for uppercase unit names.']
georadius_ro ['6.2.0', 'Added the ANY option for COUNT.']
georadiusbymember ['7.0.0', 'Added support for uppercase unit names.']
georadiusbymember_ro
geosearch ['7.0.0', 'Added support for uppercase unit names.']
geosearchstore ['7.0.0', 'Added support for uppercase unit names.']
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
stream xadd ['6.2.0', 'Added the NOMKSTREAM option, MINID trimming strategy and the LIMIT option.'] ['7.0.0', 'Added support for the <ms>-* explicit ID form.']
xdel
xack
xclaim
xlen
xtrim ['6.2.0', 'Added the MINID trimming strategy and the LIMIT option.']
xread
xreadgroup
xrange ['6.2.0', 'Added exclusive ranges.']
xrevrange ['6.2.0', 'Added exclusive ranges.']
xsetid ['7.0.0', 'Added the entries_added and max_deleted_entry_id arguments.']
xpending ['6.2.0', 'Added the IDLE option and exclusive range intervals.']
xautoclaim ['7.0.0', 'Added an element to the reply array, containing deleted entries the command cleared from the PEL']
xgroup createconsumer
delconsumer
create ['7.0.0', 'Added the entries_read named argument.']
destroy
setid ['7.0.0', 'Added the optional entries_read argument.']
xinfo groups ['7.0.0', 'Added the entries-read and lag fields']
consumers ['7.2.0', 'Added the inactive field.']
stream ['6.0.0', 'Added the FULL modifier.'] ['7.0.0', 'Added the max-deleted-entry-id, entries-added, recorded-first-entry-id, entries-read and lag fields'] ['7.2.0', 'Added the active-time field, and changed the meaning of seen-time.']
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
scripting eval
evalsha
eval_ro
evalsha_ro
script load
exists
flush ['6.2.0', 'Added the ASYNC and SYNC flushing mode modifiers.']
debug
fcall
fcall_ro
function stats
list
dump
restore
flush
delete
group command Version 1.0 Version 2.8 Version 3.2 Version 4.0 Version 5.0 Version 6.0 Version 6.2 Version 7.0 Version 7.2
pubsub publish
subscribe ['6.2.0', 'RESET can be called to exit subscribed state.']
unsubscribe
punsubscribe ['6.2.0', 'RESET can be called to exit subscribed state.']
spublish
ssubscribe
sunsubscribe
pubsub numsub
numpat
channels
shardnumsub
shardchannels