Function convertToFormalSQL

  • Convert informal SQL SELECT statements into formal SQL.

    Parameters

    • txt: string

      SQL text to convert

    • fn: Function

      function to resolve references fn(table, type, hint, from)

    • ths: any = null

      this argument for the function

    • opt: any = {}

      options for the conversion

    Returns Promise<any>

    converted SQL string (promise)

Generated using TypeDoc