DB.PHP - PHP ORM

Query debug

To fast debug all queries from the point use:

$database->debug (true); //true is default parameter

This will echo queries executed after this point and also error messages associated with queries (if any).

To turn of query debugging use:

$database->debug (false);