Modules§
- multi_
op_ create_ wraps_ in_ transaction - rmw_
condition_ failure_ issues_ rollback_ to_ savepoint - rmw_
uses_ savepoints - single_
op_ skips_ transaction - update_
with_ new_ association_ rolls_ back_ on_ failure
Functions§
- create_
with_ has_ many_ rolls_ back_ on_ failure - When the second INSERT in a has_many create plan fails (unique constraint), the driver should receive Transaction::Rollback and no orphaned user should remain in the database.
- create_
with_ has_ one_ rolls_ back_ on_ failure - Same rollback guarantee for a has_one association create.