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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
Read more

LINDEX

Returns an element from a list by its index.

Learn more →
Read more

LINSERT

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

Learn more →
Read more

LLEN

Returns the length of a list.

Learn more →
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.

Learn more →
Read more

LMPOP

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

Learn more →
Read more

LPOP

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

Learn more →
Read more

LPOS

Returns the index of matching elements in a list.

Learn more →
Read more

LPUSH

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

Learn more →
Read more

LPUSHX

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

Learn more →
Read more

LRANGE

Returns a range of elements from a list.

Learn more →
Read more

LREM

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

Learn more →
Read more

LSET

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

Learn more →
Read more

LTRIM

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

Learn more →
Read more

RPOP

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

Learn more →
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.

Learn more →
Read more

RPUSH

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

Learn more →
Read more

RPUSHX

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

Learn more →
Read more