We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749dc34 commit b581e3aCopy full SHA for b581e3a
1 file changed
src/lib.rs
@@ -861,8 +861,8 @@ impl PostgresConnection {
861
/// is active until the `PostgresTransaction` object falls out of scope.
862
///
863
/// ## Note
864
- /// A transaction will roll back by default. Use the `set_commit` method to
865
- /// set the transaction to commit.
+ /// A transaction will roll back by default. The `set_commit`,
+ /// `set_rollback`, and `commit` methods alter this behavior.
866
867
/// ## Example
868
0 commit comments