PHP 8.0.0 Released!

mysqli::savepoint

mysqli_savepoint

(PHP 5 >= 5.5.0, PHP 7)

mysqli::savepoint -- mysqli_savepointSet a named transaction savepoint

Description

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`");

Parameters

link

Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

name

The identifier of the savepoint.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top