I've found documentation on Batch Apex (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm?search_text=batch)
but I'm having trouble parsing through it all to understand how to simply insert in bulk.
I have a . . .
Database.SaveResults[] results = Database.insert(someBigList, false)
. . .that, by the time it gets here, there were ~2300 DML rows left and someBigList was ~3800 rows. My understanding is that Batch Apex could help me get around this DML error it threw.
Can I have some guidance?
someBigList
into a batch process itself, so that it inserts in smaller batches, that could be a solution. You'd need to add some more detail to your question about the overall objective to see if that's a possibility.