▲ | andersmurphy 4 days ago | |||||||
The batch is still atomic (as it's wrapped in a database transaction). So you batch items will never partially happen (say in the case of a crash). You do have to write your batch items so that they check their own constraints though. I.e check the accounts have funds etc. | ||||||||
▲ | hu3 4 days ago | parent [-] | |||||||
But then rolling back the entire batch would potentially rollback inserts/updates/deletes from multiple independent requests. I need to bne able to rollback just the queries of a single request. | ||||||||
|