CONTAINS
Synonym for ST_CONTAINS. Checks if the first geometry completely contains the second geometry, with no points of the second geometry outside the first.
Syntax
Contains(g1,g2)Description
Returns 1 or 0 to indicate whether a geometry g1 completely contains geometry g2. CONTAINS() is based on the original MySQL implementation and uses object bounding rectangles, while ST_CONTAINS() uses object shapes.
This tests the opposite relationship to Within().
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?

