- box2D<TName>(dbName, fieldConfig?): PgCustomColumnBuilder<{
columnType: "PgCustomColumn";
data: BBox;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: TName;
}> Parameters
- dbName: TName
Optional
fieldConfig: unknown
Returns PgCustomColumnBuilder<{
columnType: "PgCustomColumn";
data: BBox;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: TName;
}>
box2d is a spatial data type used to represent the two-dimensional bounding box enclosing a geometry or collection of geometries.
The representation contains the values xmin, ymin, xmax, ymax. These are the minimum and maximum values of the X and Y extents.