streamQueryMultiBatchesFor method
Stream<Result<QueryResultMultiBatchItem> >
streamQueryMultiBatchesFor(
- Connection conn,
- String sql, {
- int fetchSize = 1000,
- int? chunkSize,
streamQueryMultiBatches overload that accepts a Connection.
Implementation
Stream<Result<QueryResultMultiBatchItem>> streamQueryMultiBatchesFor(
Connection conn,
String sql, {
int fetchSize = 1000,
int? chunkSize,
}) =>
streamQueryMultiBatches(
conn.id,
sql,
fetchSize: fetchSize,
chunkSize: chunkSize,
);