Attribute Column

Hierarchy

Constructors

Properties

AUTOINCREMENT_CONSTRAINT_ORDER: 4 = 4

Autoincrement Constraint Order

DEFAULT_VALUE_CONSTRAINT_ORDER: 2 = 2

Default Value Constraint Order

NOT_NULL_CONSTRAINT_ORDER: 1 = 1

Not Null Constraint Order

NO_INDEX: -1 = -1

User Column index value

PRIMARY_KEY_CONSTRAINT_ORDER: 3 = 3

Primary Key Constraint Order

UNIQUE_CONSTRAINT_ORDER: 5 = 5

Unique Constraint Order

Methods

  • Determine if this column is named the provided name

    Returns

    true if named the provided name

    Parameters

    • name: string

      column name

    Returns boolean

  • Create a new primary key column with a provided index

    Parameters

    • index: number = AttributesColumn.NO_INDEX
    • name: string
    • autoincrement: boolean = UserTableDefaults.DEFAULT_AUTOINCREMENT

    Returns AttributesColumn

Generated using TypeDoc