Optionaltype: GeometryTypeOptionalsrid: numberOptionaloptions: { type?: GeometryType; srid?: number }OptionaltypeThe geometry type (POINT, LINESTRING, POLYGON, etc.)
OptionalsridSRID (Spatial Reference System Identifier) for the coordinate system Common values:
Compare this DataType with another DataType for equality
The DataType to compare with
true if the types are equal, false otherwise
Serialize a value for storage based on this DataType
The value to serialize
The serialized value
Get the geometry type in uppercase
Optionaldialect: string
Geometry - for spatial/geometric data Supports optional geometry type and SRID (Spatial Reference System Identifier)
Example