• 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.

    Type Parameters

    • TName extends string

    Parameters

    • dbName: TName
    • Optional fieldConfig: unknown

    Returns PgCustomColumnBuilder<{
        columnType: "PgCustomColumn";
        data: BBox;
        dataType: "custom";
        driverParam: string;
        enumValues: undefined;
        name: TName;
    }>

    Example

    `POINT (1 2)`
    

    Link

    https://postgis.net/docs/box2d_type.html

Generated using TypeDoc