PHP - Manual: cubrid_get_autocommit
2024-12-21
(PECL CUBRID >= 8.4.0)
cubrid_get_autocommit — Get auto-commit mode of the connection
$conn_identifier
): boolThe cubrid_get_autocommit() function is used to get the status of CUBRID database connection auto-commit mode.
For CUBRID 8.4.0, auto-commit mode is disabled by default for transaction management.
For CUBRID 8.4.1, auto-commit mode is enabled by default for transaction management.
conn_identifier
Connection identifier.
true
, when auto-commit is on.
false
, when auto-commit is off.
null
on error.
官方地址:https://www.php.net/manual/en/function.cubrid-get-autocommit.php