Commands

BLMOVE

Pops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved.

Read more

BLMPOP

Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BLPOP

Removes and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BRPOP

Removes and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BRPOPLPUSH

Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.

Read more

LINDEX

Returns an element from a list by its index.

Read more

LINSERT

Inserts an element before or after another element in a list.

Read more

LMOVE

Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.

Read more

LMPOP

Returns multiple elements from a list after removing them. Deletes the list if the last element was popped.

Read more

LPOP

Returns the first elements in a list after removing it. Deletes the list if the last element was popped.

Read more

LPOS

Returns the index of matching elements in a list.

Read more

LPUSH

Prepends one or more elements to a list. Creates the key if it doesn't exist.

Read more

LPUSHX

Prepends one or more elements to a list only when the list exists.

Read more

LRANGE

Returns a range of elements from a list.

Read more

LREM

Removes elements from a list. Deletes the list if the last element was removed.

Read more

LSET

Sets the value of an element in a list by its index.

Read more

LTRIM

Removes elements from both ends a list. Deletes the list if all elements were trimmed.

Read more

RPOP

Returns and removes the last elements of a list. Deletes the list if the last element was popped.

Read more

RPOPLPUSH

Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.

Read more

RPUSH

Appends one or more elements to a list. Creates the key if it doesn't exist.

Read more

RPUSHX

Appends an element to a list only when the list exists.

Read more