API 参考
    正在准备搜索索引...

    Database's table unique constraint stored in this class.

    索引

    构造函数

    • 参数

      返回 TableUnique

    属性

    "@instanceof": symbol
    columnNames: string[]

    Columns that contains this constraint.

    deferrable?: string

    Set this foreign key constraint as "DEFERRABLE" e.g. check constraints at start or at the end of a transaction

    name?: string

    Constraint name.

    方法

    • Creates a new copy of this constraint with exactly same properties.

      返回 TableUnique

    • Creates unique from the unique metadata object.

      参数

      • uniqueMetadata: UniqueMetadata

      返回 TableUnique