我看到了这个从 redis ussign 通配符中删除 Key 的例子
You can delete multiple keys with just one DEL command
DEL key1 key2 key3......
You can also delete all keys matching an expression this way
redis-cli KEYS "temp_cart:user*" | xargs redis-cli DEL
假设我有钥匙:key1a,key2b,key7a,...。我想删除所有以 key* 开头的东西
我如何告诉 bookleve 这样做?当我用“keys *”将字符串传递给它的无效函数时,它似乎没有奏效。