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.

DECRBYDecrement the number stored at the key by a given number. 

DELRemove the specified keys.

EXISTS This command tests if the specified key exists.

EXPIREThis command set a timeout on the key.

GETThis command gets the value of the specified key.

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

HDELThis command removes the specified field from a hash stored at the key.

HEXISTSThis 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.

HGETIf 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