ibase_rollback

(PHP 5, PHP 7)

ibase_rollbackRoll back a transaction

说明

ibase_rollback ([ resource $link_or_trans_identifier = NULL ] ) : bool

Rolls back a transaction.

参数

link_or_trans_identifier

If called without an argument, this function rolls back the default transaction of the default link. If the argument is a connection identifier, the default transaction of the corresponding connection will be rolled back. If the argument is a transaction identifier, the corresponding transaction will be rolled back.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

关注编程学问公众号