Functions§
- batch_
array_ creates_ rolls_ back_ on_ failure - When a batch of array creates fails on one element (unique constraint), all prior successful creates are rolled back.
- batch_
create_ and_ update_ rolls_ back_ on_ update_ failure - When a batch of a create + update fails on the update (unique constraint), the successful create is rolled back.
- batch_
different_ models_ rolls_ back_ on_ failure - When a batch of different models fails on the second create, the first model’s create is rolled back too.
- batch_
two_ creates_ rolls_ back_ on_ second_ failure - When a batch of two creates fails on the second INSERT (unique constraint violation), the entire batch is rolled back — the first INSERT must not persist.
- batch_
update_ and_ create_ rolls_ back_ on_ create_ failure - When a batch of an update + create fails on the create (unique constraint), the successful update is rolled back.