Simple Attributes Requirements Class User-Defined Related Data Table

Hierarchy

Constructors

Properties

Columns

constraints: Constraints = ...

Constraints

contents: Contents

Foreign key to Contents

COLUMN_ID: string = 'id'
DEFAULT_AUTOINCREMENT: boolean = true

Default id autoincrement setting

DEFAULT_PK_NOT_NULL: boolean = true

Default primary key not null setting

RELATION_TYPE: RelationType = RelationType.SIMPLE_ATTRIBUTES

Accessors

Methods

  • Get the contents data type from the contents or use the default

    Returns

    contents or default data type

    Parameters

    • defaultType: string

      default data type

    Returns string

  • Create the required columns with a specified starting column index

    Returns

    Parameters

    • Optional startingIndex: number = 0

      starting index of the required columns

    • Optional idColumnName: string = SimpleAttributesTable.COLUMN_ID

      id column name

    • Optional autoincrement: boolean

    Returns UserColumn[]

Generated using TypeDoc