REDIS.keys("thing1:*")
However, you may consider using a card.
REDIS.hset("thing1", "user1", "") REDIS.hset("thing1", "user2", "") REDIDS.hgetall("thing1")
Be careful with this during the manufacturing process. Redis can only process one command at a time, and KEYS can be very slow. He must look at every key in the entire database.
Abentpoon
source share