Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting values of all the keys #233

Open
thedevd opened this issue May 7, 2019 · 0 comments
Open

Getting values of all the keys #233

thedevd opened this issue May 7, 2019 · 0 comments

Comments

@thedevd
Copy link

thedevd commented May 7, 2019

I am not able to find any api, that can allow me to fetch values by passing list of keys.
To be more clear I am looking for a method that can accept List of keys as parameter and returns me Map of key value pairs from redis -

 val redis = new RedisClient("localhost", 6379)
 redis.getAll(redis.keys("*").get)) // something like this

Note- I have tried hmgetAll() and hmgetAll1() but that is always returning emptyMap

   val keyValues = redis.hmgetAll1(redis.keys("*"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant