redis/lpush

List Push Left

Prepend to list

list
data-structure

Command

LPUSH key element

Explanation

Inserts all specified values at the head of the list stored at key.

Examples

Add task to beginning

LPUSH tasks "task1"