postgrelize / DataType
Type Alias: DataType ​
DataType =
Readonly<{bindCast?:string;isJson?:boolean;isVirtual?:boolean;key:string;parse?: (value) =>unknown;serialize?: (value) =>unknown;sqlType:string;subtype?:DataType;values?: readonlystring[]; }>
Defined in: src/data-types/abstract-data-type.ts:5
Description of a column type: its SQL type and conversions between JavaScript values and the values sent to / received from PostgreSQL.