PHP 8.3.0 RC 6 available for testing

mysqli::release_savepoint

mysqli_release_savepoint

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

mysqli::release_savepoint -- mysqli_release_savepoint从当前事务的保存点中移除一个命名保存点

说明

面向对象风格

public mysqli::release_savepoint(string $name): bool

过程化风格:

mysqli_release_savepoint(mysqli $mysql, string $name): bool

此函数等同于执行 $mysqli->query("RELEASE SAVEPOINT `$name`");。此函数不会触发 commit 或者 rollback。

参数

mysql

仅以过程化样式:由mysqli_connect()mysqli_init() 返回的 mysqli 对象。

name

保存点的标识符。

返回值

成功时返回 true, 或者在失败时返回 false

参见

add a note

User Contributed Notes

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