3000 explained code solutions for 75 technologies


python-redisSearch keys by pattern in Redis


r = redis.Redis()
all_keys = r.keys('pattern')ctrl + c
redis.Redis

connect to Redis server

r.keys

get all keys from Redis that match specified pattern

pattern

pattern to use for key search