* Insert creates a Query that represents an INSERT SQL statement. * The keys of cols are the column names, while the values of cols are the corresponding column * values to be inserted.
(table: string, cols: Params)
| 3408 | * values to be inserted. |
| 3409 | */ |
| 3410 | insert(table: string, cols: Params): (Query) |
| 3411 | /** |
| 3412 | * Upsert creates a Query that represents an UPSERT SQL statement. |
| 3413 | * Upsert inserts a row into the table if the primary key or unique index is not found. |