cubrid_set_autocommit
(PECL CUBRID >= 8.4.0)
Set autocommit mode of the connection
Description
The cubrid_set_autocommit() function is used to set the CUBRID database auto-commit mode of the current database connection.
In CUBRID PHP, auto-commit mode is disabled by default for transaction management. When auto-commit mode is turned from off to on, any pending work is automatically committed.
Parameters
conn_identifierConnection identifier.
modeAuto-commit mode. The following constants can be used:
CUBRID_AUTOCOMMIT_FALSECUBRID_AUTOCOMMIT_TRUE
Return Values
Success