Skip to main content

transaction_with

Function transaction_with 

Source
pub async fn transaction_with<F, Fut, R>(
    pool: &PgPool,
    opts: TransactionOptions,
    f: F,
) -> OrmResult<R>
where F: FnOnce(Transaction<'static, Postgres>) -> Fut, Fut: Future<Output = OrmResult<R>>,
Expand description

Транзакция с явными опциями.