1
0
mirror of https://github.com/django/django.git synced 2025-03-25 00:30:45 +00:00

Doc'd database functions for overlaps lookup.

This commit is contained in:
Claude Paroz 2019-02-12 15:41:50 -05:00 committed by Tim Graham
parent 7d5d20212c
commit 8cf9dbee6a

View File

@ -372,6 +372,17 @@ Oracle ``SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(poly, 0.05
*Availability*: `PostGIS <https://postgis.net/docs/ST_Overlaps.html>`__,
Oracle, MySQL, SpatiaLite, PGRaster (Bilateral)
Tests if the geometry field spatially overlaps the lookup geometry.
========== ============================
Backend SQL Equivalent
========== ============================
PostGIS ``ST_Overlaps(poly, geom)``
Oracle ``SDO_OVERLAPS(poly, geom)``
MySQL ``MBROverlaps(poly, geom)``
SpatiaLite ``Overlaps(poly, geom)``
========== ============================
.. fieldlookup:: relate
``relate``