Function createTable

  • Generate SQL command for CREATE TABLE.

    Parameters

    • name: string

      table name

    • cols: ColumnTypes

      columns {name: type}

    • opt: CreateTableOptions = {}

      options {pk}

    • acc: string = ''

      string to accumulate to (internal use)

    Returns string

    SQL command for creating the table

Generated using TypeDoc