Returns all points whose distance from an ST_Geometry value is less than or equal to a specified distance.
Valid Data Types
All ST_Geometry types.
This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is dropped, and only x and y coordinates are returned.
Returns an ST_Geometry value.