actix-contrib-rest 0.7.0

Util types and functions for REST and webapp projects built on top of the Actix Web framework
Documentation
1
2
3
4
5
6
7
8
//! Types to handle connections and transactions.
//!
//! Module only available when the `sqlx-postgres` feature is activated.

use sqlx::{Postgres, Transaction};

/// Alias for SQLx Transaction for Postgres.
pub type Tx<'a> = Transaction<'a, Postgres>;