123) will bind the integer 123 to the key :key in the * SQL. This method has no return value. * * @param string $sql SQL query to execute * @param array $bindings list of values to bind to SQL snippet * * @return array Affected Rows */ public function Execute( $sql, $bindings = array() ); /** * Returns the latest insert ID if driver does support this * feature. * * @return integer */ public function GetInsertID(); /** * Returns the number of rows affected by the most recent query * if the currently selected driver driver supports this feature. * * @return integer */ public function Affected_Rows(); /** * Returns a cursor-like object from the database. * * @param string $sql SQL query to execute * @param array $bindings list of values to bind to SQL snippet * * @return mixed */ public function GetCursor( $sql, $bindings = array() ); /** * Toggles debug mode. In debug mode the driver will print all * SQL to the screen together with some information about the * results. All SQL code that passes through the driver will be * passes on to the screen for inspection. * This method has no return value. * * @param boolean $tf TRUE = debug mode ON * @param Logger $customLogger * * @return void */ public function setDebugMode( $tf, $customLogger ); /** * Starts a transaction. * * @return void */ public function CommitTrans(); /** * Commits a transaction. * * @return void */ public function StartTrans(); /** * Rolls back a transaction. * * @return void */ public function FailTrans(); /** * Resets the internal Query Counter. * * @return self */ public function resetCounter(); /** * Returns the number of SQL queries processed. * * @return integer */ public function getQueryCount(); }