Closed
Description
The infileStreamFactory
option only works when calling connection.query()
or connection.execute()
, which is as documented.
However, if I set it on a connection-level as suggested in #1080, the configuration is currently not propagated when calling connection.query()
or connection.execute()
. Since I am using Sequelize, which only exposes the connection configuration via dialectOptions
, there is no other way I can set the infileStreamFactory
option.
To help move this forward, I am keen to know where the change should be made:
- To support the
infileStreamFactory
connection option inmysql2
and pass it when callingCommands.Execute()
/Commands.Query()
; or - To make the change in Sequelize instead to expose these options at a query-level.
Any comments/feedback is deeply appreciated, thanks!
Metadata
Metadata
Assignees
Labels
No labels