downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SAMConnection->connect> <SAM 関数
Last updated: Fri, 13 Nov 2009

view this page in

SAMConnection->commit

(PECL sam >= 0.1.0)

SAMConnection->commit 現在作業中の内容をコミット (正常に完了) する

説明

SAMConnection
bool commit ( void )

接続オブジェクトに対して "commit" メソッドをコールすると、 現在処理中のトランザクションのすべての内容をコミットします。

返り値

エラーが発生した場合に FALSE を返します。

例1 現在処理中の内容のコミット

<?php
  
if (!$conn->commit()) {
    
// コミットに失敗しました!
    
echo "Commit failed ($conn->errno$conn->error";
  }
?>



add a note add a note User Contributed Notes
SAMConnection->commit
There are no user contributed notes for this page.

SAMConnection->connect> <SAM 関数
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites