commit()

commit()

Commit a Transaction
@return PhpBURN_Core

Params


EMPTY

Explanation


This method commit a database transaction, it’s only needed by databases that REQUIRE commit() transaction ( Oracle for example ). It’s mostly used with a begin() method.

The usage of this method is:


$model = new Model();

$model->begin();
$model->find();
$model->commit();