PECL CUBRID >= 8.3.0
cubrid_commit - Commit a transaction
cubrid_commit( resource$conn_identifier ): bool
The cubrid_commit function is used to execute commit on the transaction pointed by conn_identifier, currently in progress. Connection to the server is closed after the cubrid_commit function is called; However, the connection handle is still valid.
In CUBRID PHP, auto-commit mode is disabled by default for transaction management. You can set it by using cubrid_set_autocommit. You can get its status by using cubrid_get_autocommit. Before you start a transaction, remember to disable the auto-commit mode.
Returns true on success or false on failure.
Show all examples for cubrid_commit