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.
2 parents b3939f9 + a69fec0 commit 4fe0cb3Copy full SHA for 4fe0cb3
crates/duckdb/src/transaction.rs
@@ -64,7 +64,7 @@ impl Transaction<'_> {
64
/// possible, [`Transaction::new`] should be preferred, as it provides a
65
/// compile-time guarantee that transactions are not nested.
66
#[inline]
67
- fn new_unchecked(conn: &Connection) -> Result<Transaction<'_>> {
+ pub fn new_unchecked(conn: &Connection) -> Result<Transaction<'_>> {
68
let query = "BEGIN TRANSACTION";
69
conn.execute_batch(query).map(move |_| Transaction {
70
conn,
0 commit comments