Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2021-04-05 08:27:45 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2021-12-28 22:17:19 +0300
commitb344649b6f6d84362411507166daad5312a431f5 (patch)
treeb90ae0bc89d366658da66be7021eda24f95a451a /redis.c
parent8751a92c03dd289970d168e1b6efe2836908ea77 (diff)
[WIP] Issue #1894
Add geosearch and geosearchstore commands.
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/redis.c b/redis.c
index 991d940e..5a5d787b 100644
--- a/redis.c
+++ b/redis.c
@@ -3598,6 +3598,14 @@ PHP_METHOD(Redis, georadiusbymember_ro) {
REDIS_PROCESS_KW_CMD("GEORADIUSBYMEMBER_RO", redis_georadiusbymember_cmd, redis_read_variant_reply);
}
+PHP_METHOD(Redis, geosearch) {
+ REDIS_PROCESS_CMD(geosearch, redis_geosearch_response);
+}
+
+PHP_METHOD(Redis, geosearchstore) {
+ REDIS_PROCESS_CMD(geosearchstore, redis_long_response);
+}
+
/*
* Streams
*/