mirror of
https://github.com/django/django.git
synced 2025-03-24 16:20:46 +00:00
[1.11.x] Clarified return value of NumGeometries GIS function.
Backport of 66bbde6819586cc3a75630e12e569dc8ae72f211 from master
This commit is contained in:
parent
8ac03edd8d
commit
926b4427d2
@ -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
|
Accepts a single geographic field or expression and returns the number of
|
||||||
geometries if the geometry field is a collection (e.g., a ``GEOMETRYCOLLECTION``
|
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``
|
``NumPoints``
|
||||||
=============
|
=============
|
||||||
|
Loading…
x
Reference in New Issue
Block a user