import { customType } from "https://deno.land/x/drizzle@v0.23.85/pg-core.ts";
Custom pg database data type generator
Type Parameters
optional
T extends CustomTypeValues = CustomTypeValuesParameters
customTypeParams: CustomTypeParams<T>
Returns
Equal<T["configRequired"], true> extends true ? <TName extends string>(dbName: TName, fieldConfig: T["config"]) => PgCustomColumnBuilder<ConvertCustomConfig<TName, T>> : <TName extends string>(dbName: TName, fieldConfig?: T["config"]) => PgCustomColumnBuilder<ConvertCustomConfig<TName, T>>