ST_Boundary(geom: Geometry)
SELECT ST_Boundary(ST_GeomFromWKT('POLYGON((1 1,0 0, -1 1, 1 1))'))
LINESTRING (1 1, 0 0, -1 1, 1 1)
Was this page helpful?