diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-03-17 18:03:30 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-17 09:03:45 -0400 |
| commit | 926b4427d252902d15b24fc40c71ba5d70c87089 (patch) | |
| tree | 73b90693f5c33e46043b2581a88143396052f30d | |
| parent | 8ac03edd8d3c22b7cc6b1c486a8679578c871003 (diff) | |
[1.11.x] Clarified return value of NumGeometries GIS function.
Backport of 66bbde6819586cc3a75630e12e569dc8ae72f211 from master
| -rw-r--r-- | docs/ref/contrib/gis/functions.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index b000f29d42..1d1aac6a2d 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -397,7 +397,9 @@ Accepts a single geographic field or expression and returns the memory size Accepts a single geographic field or expression and returns the number of geometries if the geometry field is a collection (e.g., a ``GEOMETRYCOLLECTION`` -or ``MULTI*`` field); otherwise returns ``None``. +or ``MULTI*`` field). Returns 1 for single geometries. + +On MySQL, returns ``None`` for single geometries. ``NumPoints`` ============= |
