[1.11.x] Clarified return value of NumGeometries GIS function.

Backport of 66bbde6819 from master
This commit is contained in:
Sergey Fedoseev 2017-03-17 18:03:30 +05:00 committed by Tim Graham
parent 8ac03edd8d
commit 926b4427d2
1 changed files with 3 additions and 1 deletions

View File

@ -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``
=============