kevy4.0

DEL

Delete one or more keys.

DEL key [key ...]
Group
Generic
Since
1.0.0
Arity
at least 2
Flags
write

Complexity

O(N) keys, plus O(M) per key holding a collection of M elements (the drop walks the container)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

the multi-key form is split by shard and summed with no barrier, so it is not atomic across shards; the single-key form is

See also

EXISTSEXPIREEXPIREATPERSISTPEXPIREPEXPIREATPTTLRENAMERENAMENXTTLTYPEUNLINK

← All commands