Expand description
SQLx bindings for the shared database lifecycle hooks.
Structs§
- Database
Hook Context - Context passed to database lifecycle hooks.
- Sqlx
Backend - The
SQLxhook backend: implementDatabaseHooks<S, SqlxBackend>to receive its pool and transaction. - Sqlx
Hook Connection - A native connection acquired by
SqlxHookContextExt::connection.
Enums§
- Hook
Control - Control flow returned by database
before_*hooks.
Traits§
- Database
Hooks - Lifecycle hooks for intercepting auth writes.
- Hook
Backend - Database handles an adapter exposes to its lifecycle hooks.
- Sqlx
Hook Context Ext - Query access through the active auth transaction, or the pool outside one.
Functions§
Type Aliases§
- Sqlx
Hook Context - Context passed to
SQLxlifecycle hooks.