Skip to content

Home > extract-pg-schema > InformationSchemaColumn > datetime_precision

InformationSchemaColumn.datetime_precision property

If data_type identifies a date, time, timestamp, or interval type, this column contains the (declared or implicit) fractional seconds precision of the type for this column, that is, the number of decimal digits maintained following the decimal point in the seconds value. For all other data types, this column is null.

Signature:

typescript
datetime_precision: number | null;