LPUSH
Note
Official reference: LPUSH.
Push elements onto the left end in argument order.
Syntax
LPUSH key element [element ...]
Arguments are pushed onto the head in sequence: first second produces second, first at the head.
Results
| Return | Rows | Content |
|---|---|---|
| Update count | -- | Length of the list after the PUSH operation. |
Example
LPUSH demo:queue first second