Skip to main content

begin_transaction

Function begin_transaction 

Source
pub fn begin_transaction(conn: &mut dyn Connection, backend: Backend) -> bool
Expand description

Open a target-side transaction. Returns true if the BEGIN succeeded, false if the backend rejected the statement (best- effort: the caller proceeds without a wrapping transaction).

Blocking: issues at most one synchronous BEGIN round-trip.