| Versionen | |
|---|---|
| drupal7 | public DatabaseConnection::rollBack() |
Schedule the current transaction for rollback.
This method throws an exception if no transaction is active.
includes/
<?php
public function rollBack() {
if ($this->transactionLayers == 0) {
throw new NoActiveTransactionException();
}
$this->willRollBack = TRUE;
}
?>
Kommentare
Kommentar hinzufügen