Options
All
  • Public
  • Public/Protected
  • All
Menu

Unique metadata contains all information about table's unique constraints.

Hierarchy

  • UniqueMetadata

Index

Constructors

constructor

Properties

columns

columns: ColumnMetadata[] = []

Unique columns.

entityMetadata

entityMetadata: EntityMetadata

Entity metadata of the class to which this unique constraint is applied.

Optional givenColumnNames

givenColumnNames: function | string[]

User specified column names.

Optional givenName

givenName: undefined | string

User specified unique constraint name.

name

name: string

Final unique constraint name. If unique constraint name was given by a user then it stores normalized (by naming strategy) givenName. If unique constraint name was not given then its generated.

Optional target

target: Function | string

Target class to which metadata is applied.

Methods

build

Generated using TypeDoc