Represents a user feature column

Hierarchy

Constructors

Properties

geometryType: GeometryType
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 geometry column with a specified column index

    Returns

    feature column

    Parameters

    • index: number = FeatureColumn.NO_INDEX

      column index

    • name: string

      column name

    • type: GeometryType
    • Optional notNull: boolean

      not null

    • Optional defaultValue: DBValue

      default value or nil

    Returns FeatureColumn

  • Create a new primary key column

    Returns

    feature column

    Parameters

    • name: string

      column name

    • autoincrement: boolean = UserTableDefaults.DEFAULT_AUTOINCREMENT

      column name

    Returns FeatureColumn

  • Create a new primary key column with a specified column index

    Returns

    feature column

    Parameters

    • index: number = FeatureColumn.NO_INDEX

      column index

    • name: string

      column name

    • autoincrement: boolean = UserTableDefaults.DEFAULT_AUTOINCREMENT

      column name

    Returns FeatureColumn

Generated using TypeDoc