newszine

How to remove & return last element of a list – Redis RPOP | BRPOP

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to remove and return the last element of the list value stored at a key in redis datastore. For this, we will use redis RPOP and BRPOP commands. RPOP Command This command is used to remove and return the last element of the list value stored at the Read More

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

5 years 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 Redis INCRBYFLOAT command.  INCRBYFLOAT Command 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

5 years 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 Redis SETRANGE command. SETRANGE Command This command takes start ( inclusive ) offset, which determined the start index of the update part of the string value. If start Read More

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

5 years 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 Redis GETRANGE command. GETRANGE Command This command takes start ( inclusive ) and end ( inclusive ) offsets, which determined the start and end index of a Read More