kevy

LREM

Remove elements equal to the given value from a list.

SyntaxLREM key count element
Grouplist
Arity4
Since1.0.0
Flagswrite
ComplexityO(N*R) worst case — the scan is O(N) but each removal shifts up to half the deque (Redis is O(N+R))
Redis compatibilityfull

← All commands