go-zero
go-zero copied to clipboard
cache.Cache need Fuzzy query keys
cache.Cache need Fuzzy query keys 中文:cache.Cache 进行模糊查询keys的方法
要是可以有一个do原始方法就好了
The keys command is not recommended for use in a production environment.
https://redis.io/commands/keys/
keys不建议在生产环境中使用该命令。 https://redis.io/commands/keys/
那进行模糊删除的时候,怎么操作呢?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
keysThis command is not recommended for production environments. https://redis.io/commands/keys/
How to operate when fuzzy deletion is performed?
I prefer to specify the exact key to delete the data. You can pre-store a class of key into the collection, and then take out the key in the collection to delete.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.