Redis keys function for match with multiple pattern
问题 How i can find keys with multiple match pattern, for example i've keys with foo:*, event:*, poi:* and article:* patterns. how i find keys with redis keys function for match with foo:* or poi:* pattern, its like find all keys with preffix foo:* or poi:* 回答1: You should not do this. KEYS is mainly a debug command. It is not supposed to be used for anything else. Redis is not a database supporting ad-hoc queries: you are supposed to provide access paths for the data you put into Redis (using