Contains user mapping table factory and utility methods

Param

table name

Param

user mapping columns

Hierarchy

Constructors

Properties

Columns

constraints: Constraints = ...

Constraints

contents: Contents

Foreign key to Contents

COLUMN_BASE_ID: string = 'base_id'
COLUMN_RELATED_ID: string = 'related_id'
DEFAULT_AUTOINCREMENT: boolean = true

Default id autoincrement setting

DEFAULT_PK_NOT_NULL: boolean = true

Default primary key not null setting

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

Generated using TypeDoc