问题描述 @method static bool|array scan($it) 看了一下这个不支持模式匹配(match)和计数(count)功能,那我大量模糊删除key怎么做呢? ...
问题描述 function scanKeys(string $pattern, int $count = 100): array { $cursor = null; $keys = []; $redis = \support\Redis::connection(); do { list($cursor, $fetchedKeys) = $redis->scan(...