How can I find the count of all the keys that has a matching pattern.
For example, there are two keys abc:random-text-1
and abc:random-text-2
. The common pattern here isabc:
. So, here the count is 2.
How can I do this in redis?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…