Add new command: GEORADIUS (Redis 3.2.0).

This commit is contained in:
Daniele Alessandri
2016-05-24 17:09:06 +02:00
parent b2284d015f
commit 00000fde4e
14 changed files with 405 additions and 0 deletions
@@ -889,6 +889,14 @@ class KeyPrefixProcessorTest extends PredisTestCase
array('key', 'member:1', 'member:2', 'km'),
array('prefix:key', 'member:1', 'member:2', 'km'),
),
array('GEORADIUS',
array('key', '15', '37', '200', 'km'),
array('prefix:key', '15', '37', '200', 'km'),
),
array('GEORADIUS',
array('key', '15', '37', '200', 'km', 'WITHDIST', 'STORE', 'key:store', 'STOREDIST', 'key:storedist'),
array('prefix:key', '15', '37', '200', 'km', 'WITHDIST', 'STORE', 'prefix:key:store', 'STOREDIST', 'prefix:key:storedist'),
),
);
}
}