$database→savepointRollback()
Roll back to a savepoint, undoing what was done since it, and leave the transaction usable
Available since version 3.0.274.
Usage
$bool = $database->savepointRollback(string $name);Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string |
Return value
boolFalse if it could not be rolled back to, i.e. the whole transaction was already rolled back by the database (as MySQL does for a deadlock)
$database methods and properties
API reference based on ProcessWire core version 3.0.275