lrem
Remove specified elements from a Redis list. Control removal count from head, tail, or all matching values.
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 |