From 6f19f6fe58c693245c988a0acde8d6d5a17da09d Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 13 Nov 2015 19:46:34 -0800 Subject: [PATCH] Mention what isolation level methods are doing. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 937b07c8..f62e7ff3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1006,6 +1006,8 @@ impl Connection { /// Sets the isolation level which will be used for future transactions. /// + /// This is a simple wrapper around `SET TRANSACTION ISOLATION LEVEL ...`. + /// /// ## Note /// /// This will not change the behavior of an active transaction. @@ -1014,6 +1016,8 @@ impl Connection { } /// Returns the isolation level which will be used for future transactions. + /// + /// This is a simple wrapper around `SHOW TRANSACTION ISOLATION LEVEL`. pub fn transaction_isolation(&self) -> Result { let mut conn = self.conn.borrow_mut(); check_desync!(conn);