Published
- 1 min read
redis get all keys and values python
The solution for this is noted below
redis get all keys and values python
Solution
#using Pyredis library:
import redis
r = redis.Redis("localhost", 6379)
for key in r.scan_iter():
print key
Try other methods by searching on the site. That is if this doesn’t work