addStatement method
Adds an SqlStatement to execute in this batch.
All other high-level methods use this internally. It can also be used to add advanced statements to a batch when no shorthand method exists for those.
Implementation
BatchedStatement addStatement(SqlStatement stmt) {
final built = database.dialect.compile(stmt);
return _addCustomStatement(built);
}