domain/entities/connection_options library
Classes
- ConnectionOptions
- Options for connection establishment and statement execution.
Constants
- defaultInitialResultBufferBytes → const int
- Default initial result buffer size in bytes (64 KB) when not set per connection.
- defaultMaxReconnectAttempts → const int
- Default maximum number of reconnect attempts when ConnectionOptions.autoReconnectOnConnectionLost is true.
- defaultMaxResultBufferBytes → const int
- Default maximum result buffer size in bytes (16 MB).
- defaultReconnectBackoff → const Duration
- Default delay between reconnect attempts when ConnectionOptions.autoReconnectOnConnectionLost is true.
Functions
-
resolveStreamChunkSizeBytes(
{required int? chunkSize, ConnectionOptions? options}) → int - Resolves the effective stream FFI chunk size for a connection.