mget
and mset
commands other than the bitop
and msetnx
commands. Command Group | Command | New Description |
String group | SET key value [NX | XX] [GET] [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL] | New NX and GET parameters. NX: Represents Not exists and sets the key-value pair only if the key does not exist. GET: Sets a new value and returns the old value. |
| BITPOS key bit [start [end [BYTE | BIT]]] | New BYTE and BIT parameters that specify the unit of offset. BYTE: Represents the offset in bytes. BIT: Represents the offset in bits. The default value is BYTE. |
| LCS key1 key2 [LEN] [IDX] [MINMATCHLEN min-match-len] [WITHMATCHLEN] | A new command. Returns the longest common subsequence between two keys. |
Command | 2.8 Memory Edition (Standard Architecture) | 4.0 Memory Edition (Standard Architecture) | 4.0 Memory Edition (Cluster Architecture) | 5.0 Memory Edition (Standard Architecture) | 5.0 Memory Edition (Cluster Architecture) | 6.2 Memory Edition (Standard Architecture) | 6.2 Memory Edition (Cluster Architecture) | 7.0 Memory Edition (Standard Architecture) | 7.0 Memory Edition (Cluster Architecture) | Memory Edition (Cluster Architecture) Cross-Slot Support |
append | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
bitcount | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
bitop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
bitpos | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
decr | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
decrby | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
get | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
getbit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
getrange | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
getset | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
incr | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
incrby | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
incrbyfloat | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
mget | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
mset | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
msetnx | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
psetex | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
setex | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
set | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
setbit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
setnx | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
setrange | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
strlen | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
bitfield | x | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
bitfield_ro | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
stralgo | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
getdel | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
getex | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
lcs | x | x | x | x | x | x | x | ✓ | ✓ | - |
Was this page helpful?