Skip to content

Latest commit

 

History

History
481 lines (473 loc) · 26.5 KB

compat.md

File metadata and controls

481 lines (473 loc) · 26.5 KB

Supported commands Commands Coverage: 62%

PRs welcome ❤️

redis ioredis ioredis-mock
acl
append
asking
auth
bgrewriteaof
bgsave
bitcount
bitfield
bitfield_ro
bitop
bitpos
blmove
blpop
brpop
brpoplpush
bzpopmax
bzpopmin
client
cluster
command
config
copy
dbsize
decr
decrby
del
discard
echo
eval
evalsha
exists
expire
expireat
failover
flushall
flushdb
geoadd
geodist
geohash
geopos
georadius
georadius_ro
georadiusbymember
georadiusbymember_ro
geosearch
geosearchstore
get
getbit
getdel
getex
getrange
getset
hdel
hexists
hget
hgetall
hincrby
hincrbyfloat
hkeys
hlen
hmget
hmset
hrandfield
hscan
hset
hsetnx
hstrlen
hvals
incr
incrby
incrbyfloat
info
keys
lastsave
lindex
linsert
llen
lmove
lolwut
lpop
lpos
lpush
lpushx
lrange
lrem
lset
ltrim
mget
monitor
move
mset
msetnx
object
persist
pexpire
pexpireat
pfadd
pfcount
pfmerge
ping
psetex
psubscribe
psync
pttl
publish
pubsub
punsubscribe
quit
randomkey
readonly
readwrite
rename
renamenx
replconf
replicaof
reset
role
rpop
rpoplpush
rpush
rpushx
sadd
save
scan
scard
script
sdiff
sdiffstore
select
set
setbit
setex
setnx
setrange
shutdown
sinter
sinterstore
sismember
slaveof
smembers
smismember
smove
sort
spop
srandmember
srem
sscan
stralgo
strlen
subscribe
substr
sunion
sunionstore
swapdb
sync
time
touch
ttl
type
unlink
unsubscribe
unwatch
wait
watch
xack
xadd
xautoclaim
xclaim
xdel
xgroup
xinfo
xlen
xpending
xrange
xread
xreadgroup
xrevrange
xsetid
xtrim
zadd
zcard
zcount
zdiff
zdiffstore
zincrby
zinter
zinterstore
zlexcount
zmscore
zpopmax
zpopmin
zrandmember
zrange
zrangebylex
zrangebyscore
zrangestore
zrank
zrem
zremrangebylex
zremrangebyrank
zremrangebyscore
zrevrange
zrevrangebylex
zrevrangebyscore
zrevrank
zscan
zscore
zunion
zunionstore

Missing buffer commands

Commands that won't be implemented

This is just the current status, and may change in the future. If you have ideas on how to implement any of them feel free to tell us about it.

redis why it doesn't make sense to emulate
debug This command is intended to aid in debugging redis
dump Doesn't make sense to implement the internal data format used by RDB
hello THe protocols this command is switching between (RESP2, RESP3, Redis 6) aren't in use
latency ioredis-mock isn't operating over the network so there is no latency to monitor
memory It's unlikely this can be emulated in a JS environment
migrate This command actually executes a DUMP + DEL on the source instance, and a RESTORE in the target. Since DUMP and RESTORE won't be implemented it includes MIGRATE.
module It's unlikely that we'll be able to run Redis Modules in a JS VM
pfdebug This command is intended to aid in debugging redis
restore The RDB specific format used for restores would be a massive undertaking to implement with very little gain.
slowlog Useful when you're on redis, not so much when on ioredis-mock