newszine

Redis LTRIM – How to trim an existing list stored in redis datastore

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to trim an existing list value stored at a key in redis datastore. For this, we will use Redis LTRIM commands. LTIM Command This command trims an existing list value such that resulting list value contains only the specified range of elements. The range is defined by start ( inclusive ) Read More

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