From 66bbde6819586cc3a75630e12e569dc8ae72f211 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 17 Mar 2017 18:03:30 +0500 Subject: [PATCH] Clarified return value of NumGeometries GIS function. --- docs/ref/contrib/gis/functions.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index 88ffb25695..702d2b3abf 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -381,7 +381,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`` =============