Basic Redis commands Part -2

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.

HKEYS: HKEYS returns all the fields' names contained into a hash.

HINCRBY: Increment the number stored at the field in the hash at key by value. If the key does not exist, a new key holding a hash is created.

HVALS: HVALS returns all the associated values.

HELN: Return the number of entries (fields) contained in the hash stored at the key.

HMGET: The HMGET command returns the values associated with the specified fields in the hash stored at the key.

HMSET: Sets the specified fields to their respective values in the hash stored at key. 

HSET: Set the specified hash field to the specified value. If the key does not exist, a new key holding a hash is created.

HGETALL: HGETALL returns both the fields and values in the form of field1, value1, field2, value2, ..., fieldN, valueN.

INCR: Increment the number stored at key by one.

INCRBY: Increment the number stored at the key by the given value. 


Basic Redis Command part -1

Basic Redis Command part -3

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