SAMConnection::commit()
SAMConnection::commit() — 現在作業中の内容をコミット (正常に完了) する
説明
接続オブジェクトに対して "commit" メソッドをコールすると、 現在処理中のトランザクションのすべての内容をコミットします。class SAMConnection {
bool commit ( void )
}
返り値
エラーが発生した場合に FALSE を返します。例
例 1971. 現在処理中の内容のコミット
<?php
if (!$conn->commit()) {
// コミットに失敗しました!
echo "Commit failed ($conn->errno) $conn->error";
}
?>
- SAMConnection::commit()のページへのリンク