R/duckdb-funs.R
ST_X.Rd
Returns the X coordinate of a point geometry.
ST_X(geom)
GEOMETRY
DOUBLE
ST_X(geom = GEOMETRY)
ST_X(point = POINT_2D)
The spatial extension (LOAD spatial;).
spatial
LOAD spatial;
SELECT ST_X(ST_Point(1, 2))