- geometry(): PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: "";
},
> Returns PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: "";
},
>
- geometry<
TConfig extends
Record<string, any> & { srid?: number; type?: GeometryType },
>(
fieldConfig?: TConfig,
): PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: "";
},
> Type Parameters
- TConfig extends Record<string, any> & { srid?: number; type?: GeometryType }
Returns PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: "";
},
>
- geometry<TName extends string>(
dbName: TName,
fieldConfig?: { srid?: number; type?: GeometryType },
): PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: TName;
},
> Returns PgCustomColumnBuilder<
{
columnType: "PgCustomColumn";
data: Geometry;
dataType: "custom";
driverParam: string;
enumValues: undefined;
name: TName;
},
>