Expand description
Implicit, poll-scoped SQLx execution.
A transaction scope does not propagate into tokio::spawn; await child work
before its enclosing Database::transaction completes.
Modules§
- prelude
- Production-oriented import surface for scoped SQLx execution.
Structs§
Enums§
Traits§
- Scoped
Executor - Marker trait for SQLx query objects that participate in scoped execution.
Import
preludefor the extension methods themselves. - Scoped
Query - Scoped
Query As - Scoped
Scalar Query
Functions§
Type Aliases§
- Scoped
Stream - A scoped compatibility stream. It preserves the
fetch()consumption API; rows are currently collected before being yielded so the transaction mutex is never released while SQLx still borrows the transaction.