rollback
mysqli::rollback
mysqli_rollback
Rolls back current transaction
ENTITY
ENTITY
public
bool
mysqli::rollback
int
flags
0
string
null
name
ENTITY
ENTITY
bool
mysqli_rollback
mysqli
mysql
int
flags
0
string
null
name
ENTITY
Rolls back the current transaction for the database.
ENTITY
flags
A bitmask of MYSQLI_TRANS_COR_* constants.
name
If provided then ROLLBACK/*name*/ is executed.
ENTITY
ENTITY
ENTITY ENTITY
ENTITY
| ENTITY | ENTITY |
|---|---|
| 8.0.0 | name is now nullable. |
ENTITY
See the mysqli::begin_transaction example.
ENTITY
[!NOTE] This function does not work with non transactional table types (like MyISAM or ISAM).
ENTITY
mysqli_begin_transaction, mysqli_commit, mysqli_autocommit, mysqli_release_savepoint
这篇文档对你有帮助吗?
谢谢你的反馈!