(PHP 5 >= 5.5.0, PHP 7, PHP 8)
mysqli::savepoint -- mysqli_savepoint — Set a named transaction savepoint
Object-oriented style
Procedural style:
This function is identical to executing $mysqli->query("SAVEPOINT `$name`");
mysqlnameThe identifier of the savepoint.