I am new to redis and struggling with how to filter certain objects based on certain attributes. I have a simple usecase where, there is a set of 1 million employee object stored in a redis set and I want to filter them on the basis of department and location. For e.g. employee having department as HR and location as LONDON. I have gone through redis documentation and understand that it can be done through scan and match through cli, but struggling to find a example where it can be done programmatically.
↧