Redis

Redis INCRBYFLOAT – How to increment a floating point value in redis

9 hours ago Lalit Bhagtani 0
In this tutorial, we will learn about how to increment the string representing a floating point value stored at a key in redis datastore. For this we will use a COMMAND – INCRBYFLOAT in redis-cli.  This command is used to increment the string representing a floating point number stored at the key by the specified value. If Read More

Redis SETRANGE – How to update a part of the string value in redis

10 hours ago Lalit Bhagtani 0
In this tutorial, we will learn about how to update a part of the string value stored at a specified key in redis datastore. For this we will use a COMMAND – SETRANGE in redis-cli. This command takes start ( inclusive ) offset, which determined the start index of the update part of the string value. If Read More

Redis GETRANGE – How to get a substring of a string value in redis

11 hours ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get a substring of the string value stored at a specified key in redis datastore. For this we will use a COMMAND – GETRANGE in redis-cli. This command takes start ( inclusive ) and end ( inclusive ) offsets, which determined the start and end index of a Read More

How to decrement a integer value in redis – Redis DECR | DECRBY

1 day ago Lalit Bhagtani 0
In this tutorial, we will learn about how to decrement the string representing a integer value stored at a key in redis datastore, by using redis DECR and DECRBY commands. DECR Command :- The DECR command is used to decrement the string representing a integer value stored at the specified key by one. If the key Read More

How to increment a integer value in redis – Redis INCR | INCRBY

1 day ago Lalit Bhagtani 0
In this tutorial, we will learn about how to increment the string representing a integer value stored at a key in redis datastore, by using redis INCR and INCRBY commands. INCR Command :- The INCR command is used to increment the string representing a integer value stored at the specified key by one. If the key Read More

How to set multiple string values in redis – Redis MSET | MSETNX

1 day ago Lalit Bhagtani 0
In this tutorial, we will learn about how to set multiple string values at their respective keys in redis datastore, by using redis MSET, and MSETNX commands. MSET Command :- The MSET command is used to set multiple string values to their respective specified key. If any of the specified key already exist, then it’s Read More