streamQueryMulti method
Streams a multi-result batch one item at a time. New in v3.3.0 (M8).
fetchSize is rows per native batch (default 1000). chunkSize is the
FFI transfer buffer in bytes (default 64 KiB); also seeds each
streamFetch allocation.
Implementation
@override
Stream<Result<QueryResultMultiItem>> streamQueryMulti(
String connectionId,
String sql, {
int fetchSize = 1000,
int chunkSize = 64 * 1024,
}) =>
_query.streamQueryMulti(
connectionId,
sql,
fetchSize: fetchSize,
chunkSize: chunkSize,
);