Interface CreateTypeDefinition

The definition for creating a new user-defined type through the Data API, using a bespoke schema definition syntax.

See Db.createType for more info.

interface CreateTypeDefinition {
    fields: Record<string, TableScalarColumnDefinition | LooseCreateTypeFieldDefinition>;
}

Properties

Properties

The fields to create in the UDT.