SAMConnection::rollback
Cancels (rolls back) an in-flight unit of work
&reftitle.description;
boolSAMConnection::rollback
Rolls back an in-flight unit of work.
&reftitle.returnvalues;
This method returns &false; if an error occurs.
&reftitle.examples;
Cancelling an in-flight unit of work
rollback()) {
// The rollback failed!
echo "Rollback failed ($conn->errno) $conn->error";
}
?>
]]>
&reftitle.seealso;