Basic Redis Commands part -1

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.

DECR: This command decrement the number stored at key by one.

DECRBY: Decrement the number stored at the key by a given number. 

DEL: Remove the specified keys.

EXISTS This command tests if the specified key exists.

EXPIRE: This command set a timeout on the key.

GET: This command gets the value of the specified key.

GETSET: GETSET is an atomic set of this value and returns the old value command.

HDEL: This command removes the specified field from a hash stored at the key.

HEXISTS: This command returns 1 if the hash stored at the key contains the specified field. Return 0 if the key is not found or the field is not present.

HGET: If the key holds a hash, retrieve the value associated with the specified field.


Basic Redis commands 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 -7

Basic Redis Command Part -8


No comments:

Post a Comment