Get auto-commit mode of the connection

# cubrid_get_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_get_autocommit — Get auto-commit mode of the connection

### Descrierea

cubrid_get_autocommit ( resource `$conn_identifier` ) : bool

The 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.

### Parametri

`conn_identifier`

  Connection identifier.

### Valorile întoarse

`TRUE`, when auto-commit is on.

`FALSE`, when auto-commit is off.

`NULL` on error.

### A se vedea și

- cubrid_set_autocommit() - Set autocommit mode of the connection
- cubrid_commit() - Commit a transaction