insertAllOnConflictUpdate<T extends Table, D> method
void
insertAllOnConflictUpdate<T extends Table, D>(
- TableInfo<
T, D> table, - Iterable<
Insertable< rowsD> >
Equivalent of InsertStatement.insertOnConflictUpdate for multiple rows that will be inserted in this batch.
Implementation
void insertAllOnConflictUpdate<T extends Table, D>(
TableInfo<T, D> table, Iterable<Insertable<D>> rows) {
for (final row in rows) {
insert<T, D>(table, row, onConflict: DoUpdate((_) => row));
}
}