This commit is contained in:
Steven Fackler
2019-11-30 12:01:09 -05:00
parent ef0b79fbcb
commit 1390cc57d7

View File

@@ -8,7 +8,7 @@ use tokio_postgres::{Error, Row, SimpleQueryMessage};
/// A representation of a PostgreSQL database transaction.
///
/// Transactions will implicitly roll back by default when dropped. Use the `commit` method to commit the changes made
/// in the transaction. Transactions can be nested, with inner transactions implemented via safepoints.
/// in the transaction. Transactions can be nested, with inner transactions implemented via savepoints.
pub struct Transaction<'a>(tokio_postgres::Transaction<'a>);
impl<'a> Transaction<'a> {