MySQL and PHP
Copyright 1997-2021 the PHP Documentation Group.
mysqli::savepoint
mysqli_savepoint
Set a named transaction savepoint
Object oriented style
public bool mysqli::savepoint(string name);
Procedural style:
bool mysqli_savepoint(mysqli link,
string name);
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.
mysqli_release_savepoint
|