(PHP 5 >= 5.5.0, PHP 7)
mysqli::savepoint -- mysqli_savepoint — Set a named transaction savepoint
Estilo orientado à objeto
$name
) : boolEstilo procedural:
This function is identical to executing $mysqli->query("SAVEPOINT `$name`");
link
Somente no estilo procedural: Um recurso link retornado por mysqli_connect() ou mysqli_init()
name
The identifier of the savepoint.
Retorna true
em caso de sucesso ou false
em caso de falha.