I have this code on PHP redis: (https://github.com/phpredis/phpredis)
$count = 10;
$it = null;
$redis->setOption(\Redis::OPT_SCAN, \Redis::SCAN_RETRY);
$pattern = '*"regionId":"564"*';
$result = $redis->zScan('my_key', $it, $pattern, $count);
I want to set offset using zScan. Is it possible? Is there any workaround for doing this?