mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Implement GEOSEARCH and GEOSEARCHSTORE for RedisCluster. (#2277)
* Implement GEOSEARCH and GEOSEARCHSTORE for RedisCluster. See #1894
This commit is contained in:
@@ -367,6 +367,16 @@ class RedisCluster {
|
||||
*/
|
||||
public function georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = []): mixed;
|
||||
|
||||
/**
|
||||
* @see https://redis.io/commands/geosearch
|
||||
*/
|
||||
public function geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = []): RedisCluster|array;
|
||||
|
||||
/**
|
||||
* @see https://redis.io/commands/geosearchstore
|
||||
*/
|
||||
public function geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = []): RedisCluster|array|int|false;
|
||||
|
||||
/**
|
||||
* @see Redis::get
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user