Redis and laravel scan family commands

191 views
Skip to first unread message

Σπύρος Σταυρόπουλος

unread,
Sep 25, 2014, 7:51:40 AM9/25/14
to redi...@googlegroups.com

i take an redis instance, add i try to execute the following:

$redis = Redis::connection();
$redis->zscan('zset', 0, 'mor*'));

but when I do, I get the message:

'zscan' is not a registered Redis command

Does anyone have any idea why?

Jesús Gabriel y Galán

unread,
Sep 25, 2014, 9:19:42 AM9/25/14
to redi...@googlegroups.com
http://redis.io/commands/zscan

"Available since 2.8.0."

zscan was added in Redis 2.8.0, which version are you running?

Jesus.

Σπύρος Σταυρόπουλος

unread,
Oct 2, 2014, 2:35:20 AM10/2/14
to redi...@googlegroups.com
.. i install a new project of laravel and a everything is ok. do you know the correct syntax of zscan command with match pattern: $redis->zscan('sortedSet','0','match string*');
Reply all
Reply to author
Forward
0 new messages