You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+22-13Lines changed: 22 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3126,15 +3126,15 @@ _**Description**_: Return members of a set with geospacial information that are
3126
3126
##### *Options Array*
3127
3127
The georadius command can be called with various options that control how Redis returns results. The following table describes the options phpredis supports. All options are case insensitive.
3128
3128
3129
-
Key | Value | Description
3130
-
--- | --- | ---- |
3131
-
COUNT | `integer $count`| Limit how many results are returned
3132
-
| WITHCOORD | Return longitude and latitude of matching members
3133
-
| WITHDIST | Return the distance from the center
3134
-
| WITHHASH | Return the raw geohash-encoded score
3135
-
| ASC | Sort results in ascending order
3136
-
| DESC | Sort results in descending order
3137
-
3129
+
| Key | Value | Description
3130
+
| :--- | :--- | :---- |
3131
+
| COUNT | integer > 0 | Limit how many results are returned
3132
+
| | WITHCOORD | Return longitude and latitude of matching members
3133
+
| | WITHDIST | Return the distance from the center
3134
+
| | WITHHASH | Return the raw geohash-encoded score
3135
+
| | ASC | Sort results in ascending order
3136
+
| | DESC | Sort results in descending order
3137
+
3138
3138
*Note*: It doesn't make sense to pass both `ASC` and `DESC` options but if both are passed the last one passed will win!
3139
3139
*Note*: PhpRedis does not currently support the `STORE` or `STOREDIST` options but will be added to future versions.
_**Description**_: This method is identical to `geoRadius` except that instead of passing a longitude and latitude as the "source" you pass an existing member in the geospacial set.
3223
+
_**Description**_: This method is identical to [geoRadius](#georadius) except that instead of passing a longitude and latitude as the "source" you pass an existing member in the geospacial set.
3224
3224
3225
3225
##### *Options Array*
3226
3226
See [geoRadius](#georadius) command for options array.
@@ -3232,19 +3232,28 @@ See [geoRadius](#georadius) command for options array.
0 commit comments