rollback()

rollback()

Auxiliar Method : Rolls back a Transaction
@return PhpBURN_Core

Params


EMPTY

Explanation


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

The usage of this method is:

$user = new Users();

$user->begin();

$user->find();

$user->rollback();