MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / transaction

Method transaction

src/sql-server-util/src/lib.rs:295–297  ·  view source on GitHub ↗

Starts a transaction which is automatically rolled back on drop. To commit or rollback the transaction, see [`Transaction::commit`] and [`Transaction::rollback`] respectively.

(&mut self)

Source from the content-addressed store, hash-verified

293 /// To commit or rollback the transaction, see [`Transaction::commit`] and
294 /// [`Transaction::rollback`] respectively.
295 pub async fn transaction(&mut self) -> Result<Transaction<'_>, SqlServerError> {
296 Transaction::new(self).await
297 }
298
299 /// Sets the transaction isolation level for the current session.
300 pub async fn set_transaction_isolation(

Callers 1

snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected