mysqli::savepoint
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
Set a named transaction savepoint
Description
Oop
mysqli::savepoint(string $name): bool
Procedural:
mysqli_savepoint(mysqli $mysql, string $name): bool
This function is identical to executing $mysqli->query("SAVEPOINT `$name`");
Parameters
nameThe identifier of the savepoint.
Return Values
Success