Skip to main content

Crate session

Crate session 

Source

Modules§

context
hints
protocol_ctx
query_id
query_options
session_config
table_name
write_progress
Process-local acknowledgements for a finite write request.

Structs§

MutableInner 🔒
A container for mutable items in query context
NoDatabaseSelectedSnafu 🔒
SNAFU context selector for the SessionError::NoDatabaseSelected variant
Session
Session for persistent connection such as MySQL, PostgreSQL etc.

Enums§

ReadPreference
Defines the read preference for frontend route operations, determining whether to read from the region leader or follower.
SessionError
Errors caused by the current connection state.

Constants§

MAX_WARNINGS 🔒
Maximum number of warnings to store per session (similar to MySQL’s max_error_count)

Type Aliases§

SessionRef