First of all thanks for everything, couldn't ask for a better extension. I'm just curious what the status is on the STOREand STOREDIST for GEORADIUS I know that it will be added to future versions, but just curious when. Because right now I have to do a GEORADIUS then ZADD each location into a new key which is less than ideal.
Thanks, Julian
Hi,
We do need to get these added to phpredis but in the meantime you can always use rawCommand if you need that functionality now.
Something like this should do it:
$obj_r->rawCommand('georadius', 'Sicily', '15', '37', '200', 'km', 'store', 'dst');
Hey,
I've uploaded a branch with support for STORE and STOREDIST here:
https://github.com/phpredis/phpredis/tree/issue.1334
Let me know if it works for you
Works great Michael, thank you
Most helpful comment
Hi,
We do need to get these added to phpredis but in the meantime you can always use
rawCommandif you need that functionality now.Something like this should do it:
$obj_r->rawCommand('georadius', 'Sicily', '15', '37', '200', 'km', 'store', 'dst');