WireDatabaseDialect::savepointCreate()
Create a savepoint in the active transaction
A savepoint lets part of a transaction be undone with savepointRollback() while the rest of it continues, i.e. one field of a page save within a caller’s transaction. MySQL (InnoDB), SQLite and PostgreSQL all support them, with the same SQL. Call only within a transaction.
Available since version 3.0.274.
Usage
$bool = $wireDatabaseDialect->savepointCreate(\PDO $pdo, string $name);Arguments
WireDatabaseDialect methods and properties
API reference based on ProcessWire core version 3.0.275