Skip to content

Home > extract-pg-schema > InformationSchemaColumn > interval_type

InformationSchemaColumn.interval_type property

If data_type identifies an interval type, this column contains the specification which fields the intervals include for this column, e.g., YEAR TO MONTH, DAY TO SECOND, etc. If no field restrictions were specified (that is, the interval accepts all fields), and for all other data types, this field is null.

Signature:

typescript
interval_type: string | null;