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.

ZINCRBY: If 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.

ZRANGE: Return the specified elements of the sorted set at the specified key.

ZRANGEBYSCORE: Return 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).

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

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

ZREMRANGEBYSCORE: Remove 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).

ZREVRANGE: Return the specified elements of the sorted set at the specified key.

ZSCORE: Return the score of the specified element of the sorted set at the key.

ZCOUNT: This command counts the members in a sorted set with scores within the given values.

ZINTERSTORE: Intersects 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