ST_EndPoint(geom: Geometry)
SELECT ST_EndPoint(ST_GeomFromText('LINESTRING(100 150,50 60, 70 80, 160 170)'))
POINT(160 170)
Was this page helpful?