mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #28696 -- Added GeometryType GIS database function and __geom_type lookup.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
6aa05fd232
commit
a5b0a618c3
@@ -635,6 +635,18 @@ Returns ``True`` if its value is a valid geometry and ``False`` otherwise.
|
||||
|
||||
MariaDB 12.0.1+ support was added.
|
||||
|
||||
``GeometryType``
|
||||
----------------
|
||||
|
||||
.. versionadded:: 6.0
|
||||
|
||||
.. class:: GeometryType(expr)
|
||||
|
||||
*Availability*: `PostGIS <https://postgis.net/docs/GeometryType.html>`__,
|
||||
Oracle 23c+, MariaDB, MySQL, SpatiaLite
|
||||
|
||||
Accepts a geographic field or expression and returns its geometry type.
|
||||
|
||||
``MemSize``
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user