Function setupTableIndex

  • Generate SQL commands for setting up table indexes and views.

    Parameters

    • table: string

      table name

    • cols: ColumnTypes

      columns with their types {name: type}

    • opt: SetupTableIndexOptions = {}

      options {pk, index, tsvector}

    • acc: string = ''

      Accumulator for the SQL string (internal use).

    Returns string

    SQL commands for setting up the table indexes and views

Generated using TypeDoc