Constructs a geometry collection from WKB.
NEW ST_GeomCollection(wkb[, srid])
wkb
LONG BINARY
A string containing the binary representation of an geometry collection. The input can be in any supported binary input format, including WKB or EWKB.
srid
INT
The SRID of the result. If not specified, the default is 0.
Constructs a geometry collection from a binary string representation. The database server determines the input format by inspecting the provided string.
SQL/MM (ISO/IEC 13249-3: 2006) 9.1.2
The following returns GeometryCollection (Point (10 20))
SELECT NEW ST_GeomCollection(0x010700000001000000010100000000000000000024400000000000003440)