Basic Redis Comands Part -3

Redis is an open-source, BSD-licensed advanced key-value store. It is often referred to as a data structure server since the keys can contain strings, hashes, lists, sets, and sorted sets. Redis is written in C.

Redis is a NoSQL database that follows the principle of a key-value store.

Some commands of Redis.

KEYS: Returns all the keys matching the glob-style pattern as space-separated strings.

LINDEX: This command returns the specified element of the list being stored at the specified key.

LLEN: This command returns the length of the list stored at the specified key.

LPOP: Atomically returns and removes the first (LPOP) or last (RPOP) element of the list.

LPUSH: Add the string value to the head (RPUSH) or tail (LPUSH) of the list stored at the key.

LRANGE: Return the specified elements of the list stored at the specified key.

LREM: Remove the first count occurrences of the value element from the list.

LSET: Set the list element at the index (see LINDEX for information about the index argument) with the new value. Out-of-range indexes will generate an error.

LTRIM: Trim an existing list so that it will contain only the specified range of elements specified.

MGET: Get the values of all the specified keys.


Basic Redis Command part -1

Basic Redis Command Part -2

Basic Redis Command Part -4

Basic Redis Command Part -5

Basic Redis Command Part -6

Basic Redis Command Part -7

Basic Redis Command Part -8


No comments:

Post a Comment