deprecated remove in v1.2

 Methods

The constructor

__construct(string $instance) 

Parameters

$instance

string

Commit the successful queries and reset AUTOCOMMIT This is called automatically if you use Database_Transaction::complete() It can also be used manually for testing

commit() 

Complete your transaction on the set of queries

complete() 

Return the database errors

errors() : mixed

Returns

mixed(array or false)

Creates a new instance

forge(string $instance) 

Parameters

$instance

string

instance()

instance() 

Rollback the failed queries and reset AUTOCOMMIT This is called automatically if you use Database_Transaction::complete() It can also be used manually for testing

rollback() 

Start your transaction before a set of dependent queries

start() 

If the group of queries had no errors, this returns TRUE Otherwise, will return FALSE

status() : boolean

Returns

boolean

 Properties

   

<p>for Singleton-like usage</p>

$_instance : \Fuel\Core\Database_Transaction