Home > extract-pg-schema > CompositeTypeAttribute
CompositeTypeAttribute interface
Attribute of a composite type.
Signature:
export interface CompositeTypeAttribute
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
string | null | Comment on the attribute. | ||
any | Default value of the attribute. | ||
string | Expanded type name. If the type is an array, brackets will be appended to the type name. | ||
The Postgres information_schema views do not contain info about materialized views. This value is the result of a query that matches the one for regular views. Use with caution, not all fields are guaranteed to be meaningful and/or accurate. | |||
"ALWAYS" | "NEVER" | "BY DEFAULT" | Behavior of the generated attribute. "ALWAYS" if always generated, "NEVER" if never generated, "BY DEFAULT" if generated when a value is not provided. | ||
boolean | Whether the attribute is an array. | ||
boolean | Whether the attribute is an identity attribute. | ||
boolean | Whether the attribute is nullable. | ||
boolean | Whether the attribute is updatable. | ||
number | null | Maximum length of the attribute. | ||
string | Attribute name. | ||
number | Ordinal position of the attribute in the composite type. Starts from 1. | ||
Type information. |