redis -cli --scan --pattern "cache:user:*" | xargs redis-cli unlink ... 如果要取得一系列的Key 可以使用 KEYS 或 SCAN 這兩個指令:.
確定! 回上一頁