SqlDatabaseStreaming extension Sessions and transactions

Demand-driven raw-row streaming with a bounded database cursor.

on

Methods

stream(SqlCommand command, {int batchSize = 128, ExecutionOptions options = const ExecutionOptions()}) Stream<List<Object?>>

Available on SqlDatabase<Backend>, provided by the SqlDatabaseStreaming extension

Streams raw rows, fetching at most batchSize rows per database request.