F
F
Finger Gross2017-10-16 19:19:37
Python
Finger Gross, 2017-10-16 19:19:37

How to search by value in Redis?

Hello everyone
How to search not by key, but by value in Redis?
So here I am looking for the key. How about in terms of meaning?

from redis import StrictRedis
connection = StrictRedis(host='localhost', port=6379, db=0)
connection.scan_iter(match='prefix_*', count=1)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question