db2_commit

(PECL ibm_db2 >= 1.0.0)

db2_commit Commits a transaction

说锟斤拷

db2_commit ( resource $connection ) : bool

Commits an in-progress transaction on the specified connection resource and begins a new transaction. PHP applications normally default to AUTOCOMMIT mode, so db2_commit() is not necessary unless AUTOCOMMIT has been turned off for the connection resource.

锟斤拷锟斤拷

connection

A valid database connection resource variable as returned from db2_connect() or db2_pconnect().

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟轿硷拷