terraware
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
st_geomcollfromtext
Parameters
Name
Type
Mode
$1
text
IN
$2
integer
IN
$1
text
IN
Definition
SELECT CASE WHEN public.geometrytype(public.ST_GeomFromText($1, $2)) = 'GEOMETRYCOLLECTION' THEN public.ST_GeomFromText($1,$2) ELSE NULL END