API ReferenceLists
LRemove
Remove elements from a list that match a value
Syntax
Redix.LRemove(key, count, value)Parameters
Prop
Type
Returns
Prop
Type
Examples
-- Remove first occurrence
local removed = Redix.LRemove('tasks', 1, {taskId = 123})
-- Remove last 2 occurrences
Redix.LRemove('notifications', -2, {type = 'info'})
-- Remove all occurrences
Redix.LRemove('queue:failed', 0, {error = 'timeout'})