Basic Redis Command Part -7

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.

ZINCRBYIf the member already exists in the sorted set add the increment to its score and update the position of the element in the sorted set accordingly.

ZRANGEReturn the specified elements of the sorted set at the specified key.

ZRANGEBYSCOREReturn all the elements in the sorted set at a key with a score between min and max (including elements with a score equal to min or max).

ZRANKReturns the rank of member in the sorted set stored at key, with the scores ordered from low to high.

ZREMZREM command in redis removes the specified member from the sorted set value stored at the key.

ZREMRANGEBYSCORERemove all the elements in the sorted set at a key with a score between min and max (including elements with a score equal to min or max).

ZREVRANGEReturn the specified elements of the sorted set at the specified key.

ZSCOREReturn the score of the specified element of the sorted set at the key.

ZCOUNTThis command counts the members in a sorted set with scores within the given values.

ZINTERSTOREIntersects multiple sorted sets and stores the resulting sorted set in a new key


Basic Redis Command part -1

Basic Redis Command Part -2

Basic Redis Command part -3

Basic Redis Command Part -4

Basic Redis Command Part -5

Basic Redis Command Part -6

Basic Redis Command Part -8


No comments:

Post a Comment