We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ad088 commit 6f19f6fCopy full SHA for 6f19f6f
src/lib.rs
@@ -1006,6 +1006,8 @@ impl Connection {
1006
1007
/// Sets the isolation level which will be used for future transactions.
1008
///
1009
+ /// This is a simple wrapper around `SET TRANSACTION ISOLATION LEVEL ...`.
1010
+ ///
1011
/// ## Note
1012
1013
/// This will not change the behavior of an active transaction.
@@ -1014,6 +1016,8 @@ impl Connection {
1014
1016
}
1015
1017
1018
/// Returns the isolation level which will be used for future transactions.
1019
1020
+ /// This is a simple wrapper around `SHOW TRANSACTION ISOLATION LEVEL`.
1021
pub fn transaction_isolation(&self) -> Result<IsolationLevel> {
1022
let mut conn = self.conn.borrow_mut();
1023
check_desync!(conn);
0 commit comments