You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently looping through all the records I want to insert and generating a transaction for each one. My code looks something like this. The records length is around 30k.
Introduction
I'm trying to bulk insert to my database that's more complex than a standard
query
but am having issues with looping through transactions.Attached SO here
Issue Description
I'm currently looping through all the records I want to insert and generating a transaction for each one. My code looks something like this. The records length is around 30k.
Expected behaviour
All the records to save properly and the database pool to properly utilized.
Actual behaviour
The script hangs and I believe throws an error asking if I used transacting right.
The text was updated successfully, but these errors were encountered: