ST_Contains
This section contains reference documentation for the ST_Contains function.
Last updated
Was this helpful?
This section contains reference documentation for the ST_Contains function.
Last updated
Was this helpful?
Returns true if and only if no points of the second geometry/geography lie in the exterior of the first geometry/geography, and at least one point of the interior of the first geometry lies in the interior of the second geometry.
ST_Contains(geometry, geometry)
These examples are based on the .
New York
POINT (-73.99 40.75)
1
New York
POINT (-73.99 40.75)
1
Staten Island
POINT (-74.15 40.61)
1
New York
POINT (-73.99 40.75)
1
New York
POINT (-73.99 40.75)
1
8