commit abstract method
Commits all of the operations in this batch as a single atomic unit
The result is a list of the result of each operation in the same order
if noResult
is true, the result list is empty (i.e. the id inserted
the count of item changed is not returned.
The batch is stopped if any operation failed
If continueOnError
is true, all the operations in the batch are executed
and the failure are ignored (i.e. the result for the given operation will
be a DatabaseException)
During Database.onCreate
, Database.onUpgrade
, Database.onDowngrade
(we are already in a transaction) or if the batch was created in a
transaction it will only be commited when
the transaction is commited (exclusive
is not used then)
Implementation
Future<List<Object?>> commit(
{bool? exclusive, bool? noResult, bool? continueOnError});