I'm trying to insert a potentially large amount of rows (up to 10,000 at max) at once to a D1 databa

I'm trying to insert a potentially large amount of rows (up to 10,000 at max) at once to a D1 database. I'm getting failures due to maxing out the number of parameters to my sql statement.

I understand batch is the solution to this, but can I send 10k sql inserts in one batch? Is there a limit to batch?
Was this page helpful?