runBatched abstract method

Future<void> runBatched(
  1. BatchedStatements statements

Prepares and runs statements.

Running them doesn't need to happen in a transaction. When using drift's batch api, drift will call this method from a transaction either way. This method mainly exists to save duplicate parsing costs, allowing each statement to be prepared only once.


Future<void> runBatched(BatchedStatements statements);