tediousjs / node-mssql

Microsoft SQL Server client for Node.js
https://tediousjs.github.io/node-mssql
MIT License
2.22k stars 464 forks source link

Bulk Insert Time Out #1642

Closed khkiley closed 1 month ago

khkiley commented 2 months ago

I'm using the Tedious driver, which supports a separate timeout for Bulk Inserts, is there an equivalent in node-mssql ?

Thanks,

Kurt

dhensby commented 1 month ago

please read the docs https://github.com/tediousjs/node-mssql?tab=readme-ov-file#bulk-table-options-callback

There is a way to pass options to the underlying tedious driver when doing bulk operations - this will likely do what you need,