Function insertIntoStream

  • Generate SQL command for INSERT INTO using a stream of values.

    Parameters

    • table: string

      table name

    • stream: Readable

      readable stream of row objects {column: value}

    • opt: InsertIntoOptions = {}

      options {pk}

    • acc: string = ''

      string to accumulate to (internal use)

    Returns Promise<string>

    SQL command to insert into the table (promise)

Generated using TypeDoc