newszine

Redis GEO – Commands to manage a geospatial value in redis datastore

5 years ago Lalit Bhagtani 0
Geospatial value contains longitude and latitude coordinates of a particular location on earth, In Redis, geospatial elements can be store in a sorted set value stored at a key and various redis commands are used to store, manage and retrieved a geospatial value stored in redis database. The syntax for using redis geo commands is Read More

Redis GEORADIUSBYMEMBER command with example – Redis Tutorial

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get elements of geospatial value stored at a key, which fall under the specific area. For this we will use a Redis GEORADIUSBYMEMBER command. GEORADIUSBYMEMBER Command This command is used to return one or more members of geospatial value ( Sorted Set ) stored at a key, which Read More

Redis GEOADD – How to create and add elements in geospatial value

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to create and add elements in a geospatial value stored at the key. For this we will use a Redis GEOADD command. GEOADD Command This command is used to add one or more specified geospatial member in the geospatial value stored at a key. A geospatial value is nothing but Read More

Redis KEYS – How to get one or more keys stored in redis datastore

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get one or more keys stored in redis datastore by using a COMMAND – KEYS in redis-cli. This command is used to return one or more keys that matches a specified pattern. The pattern are specified in glob-style. Glob Style Patterns :- * wildcard :- It Read More

Redis MOVE – How to move key from one to another database in redis

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to move a key from one database to another database in redis datastore. For this we will use a COMMAND – MOVE in redis-cli. This command is used to remove the specified key from a currently selected database and insert the same key into a destination database. If key does not exists Read More