Maximum call stack for transactions
I've been trying to do a transaction over 100k rows (works at 10k) but I've been getting an error for stack size. How do I handle bigger transactions?
1 Reply
Hi there. Pretty sure this issue isn't specific to transactions but rather a query that uses a lot of params.
This is a limitation with JS, not specifically Drizzle. There are plans to support writing tons of rows in a neat way but it's not currently supported in many drivers. I think the best thing here would be to break down all the 100k rows into chunks of, let's say, 10k each.