pub fn rollback() -> Result<(), TarantoolError>
Expand description

Rollback the active transaction.

Returns Ok(()) if there is no active transaction.

Returns an error if called from a nested statement, e.g. when called via a trigger. May return an error in other cases.