executeBatch abstract method

Future<List<QueryResult>> executeBatch(
  1. StatementBatch batch
)

A variant of execute that can prepare a statement once and then run it multiple times with different parameter sets.

This can be more efficient than calling execute multiple times since the costs of parsing SQL statements is amortized across the batch.

Implementation

Future<List<QueryResult>> executeBatch(StatementBatch batch);