Closed gizmo93 closed 5 years ago
I have a change for version 1.9 which will allow passing sequences of dict
mappings of column name -> column value to bulk_insert
. If the column allows NULL
, and is not present in the dict
, NULL
will be passed instead. I think this will support the use case you're asking for here?
Jep, that would be an even better solution for the problem :-) 👍
Added in 1.9.0
The BULK Insert feature is great, but at the moment it assumes, that all columns which exist inside the target table exist as a column inside the data we supply.
It would be great to have an option to specify the column names used for creating the INSERT statement.