Php/docs/function.ibase-commit-ret

来自菜鸟教程
跳转至:导航、​搜索

ibase_commit_ret

(PHP 5, PHP 7 < 7.4.0)

ibase_commit_retCommit a transaction without closing it


说明

ibase_commit_ret ([ resource $link_or_trans_identifier = null ] ) : bool

Commits a transaction without closing it.


参数

link_or_trans_identifier
If called without an argument, this function commits the default transaction of the default link. If the argument is a connection identifier, the default transaction of the corresponding connection will be committed. If the argument is a transaction identifier, the corresponding transaction will be committed. The transaction context will be retained, so statements executed from within this transaction will not be invalidated.


返回值

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