StatementOptions class

Options for a single prepared statement execution.

These options apply to a single execution and override any connection-level or global options.

v3.0.0: the legacy asyncFetch flag has been removed (it had no runtime effect since v2.x). For asynchronous execution use AsyncNativeOdbcConnection or configure OdbcService with the async backend.

Constructors

StatementOptions({Duration? timeout, int? fetchSize, int? maxBufferSize})
const

Properties

fetchSize int?
Number of rows to fetch per batch.
final
hashCode int
The hash code for this object.
no setterinherited
maxBufferSize int?
Maximum result buffer size in bytes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
Timeout for this specific execution (overrides connection/global).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited