php8.5
Home/ Manual/ mysqli / mysqli/ mysqli::savepoint

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

name

The identifier of the savepoint.

Return Values

Success

See Also

Source: reference/mysqli/mysqli/savepoint.xml · from the official PHP manual (php/doc-en)