Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkInsert ¶
func BulkInsert(tx *sql.Tx, tableName string, columnNames []string, rowCount int, getRow func(index int) []interface{}) (int64, error)
BulkInsert performs SQL Server bulk-insert from input rows represented by (rowCount, getRow)
No reflection here. The getRow parameter must transform source data fields into formats compatible to the destination columns
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.