Skip to main content

Module transaction

Module transaction 

Source
Expand description

Transaction support for SQLx.

Structs§

TransactionOptions
Options for starting a transaction.

Enums§

AccessMode
Transaction access mode.
IsolationLevel
Transaction isolation levels.

Functions§

with_transaction
Generic transaction wrapper for the SqlxPool enum.
with_transaction_pg
Execute a closure within a PostgreSQL transaction.