executeBatch abstract method

Future<void> executeBatch(
  1. String sql,
  2. List<List<Object?>> parameterSets
)

Execute a write query (INSERT, UPDATE, DELETE) multiple times with each parameter set. This is faster than executing separately with each parameter set.

Implementation

Future<void> executeBatch(String sql, List<List<Object?>> parameterSets);