Expand description
Test batch creation of models
Functionsยง
- batch_
create_ empty - batch_
create_ fails_ if_ any_ record_ missing_ fields - batch_
create_ inside_ transaction_ uses_ savepoints - Multi-row batch inside an explicit transaction executes as a single INSERT without extra savepoint wrapping (the statement is inherently atomic).
- batch_
create_ many - batch_
create_ many_ auto_ increment - batch_
create_ many_ auto_ increment_ requires_ returning - batch_
create_ model_ with_ unique_ field_ index_ all_ dups - batch_
create_ model_ with_ unique_ field_ index_ all_ unique - batch_
create_ one - batch_
create_ unique_ violation_ rolls_ back - Unique constraint violation on a multi-row batch is atomic because a single INSERT statement is inherently atomic in SQL databases.