(PHP 5 >= 5.5.0, PHP 7)
mysqli::savepoint -- mysqli_savepoint — Set a named transaction savepoint
Object oriented style
public mysqli::savepoint ( string $name ) : bool
Procedural style:
mysqli_savepoint ( mysqli $link , string $name ) : bool
This function is identical to executing $mysqli->query("SAVEPOINT `$name`");
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
name
The identifier of the savepoint.
Returns true
on success or false
on failure.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli.savepoint.php