Skip to content

postgrelize / PartitionKeyElement

Type Alias: PartitionKeyElement ​

PartitionKeyElement = string | Readonly<{ collate?: string; expression?: undefined; name: string; operator?: string; }> | Readonly<{ collate?: string; expression: string; name?: undefined; operator?: string; }>

Defined in: src/ddl/partition-types.ts:31

Element of a partition key: a column, or an expression (trusted SQL) with collation and operator class.

Released under the MIT License.