Skip to main content

Module session

Module session 

Source
Expand description

Unified session type for database access.

A Session binds an identity to an engine and provides query, command, and admin methods. Sessions are created either from a validated auth token (server path) or directly from an IdentityId (embedded/trusted path).

Structs§

RetryPolicy
Controls how many times a write transaction is retried on conflict (TXN_001).
Session
A unified session binding an identity to a database engine.

Enums§

Backoff
Backoff strategy between retry attempts.