PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

cubrid_set_autocommit - Set autocommit mode of the connection | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

cubrid_set_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_set_autocommitSet autocommit mode of the connection

説明

bool cubrid_set_autocommit ( resource $conn_identifier , bool $mode )

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 truned from off to on, any pending work is automatically committed.

パラメータ

conn_identifier

Connection identifier.

mode

Auto-commit mode. The following constants can be used:

  • CUBRID_AUTOCOMMIT_FALSE
  • CUBRID_AUTOCOMMIT_TRUE

返り値

TRUE, when process is successful.

FALSE, when process is unsuccessful.

参考


忘却曲線を使ってこの関数を確実に記憶に残す

フォーラムで「cubrid_set_autocommit - Set autocommit mode of the connection」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | cubrid_set_autocommit - Set autocommit mode of the connection」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: