lrem
Remove matching elements from a Redis list. Use count to specify removals: 0 removes all, positive from head, negative from tail.
Instructions
Remove elements from a Redis list.
Args: name: The name of the list count: Number of elements to remove (0 = all, positive = from head, negative = from tail) element: The element value to remove
Returns: A string indicating the number of elements removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| count | Yes | ||
| element | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |