src/DB/PDO/Connection.php
public function exec( $statement ){
		$this->logStatement( $statement );
		try{
			$this->numberExecutes++;
			$this->numberStatements++;
			return parent::exec( $statement );
		}
		catch( \PDOException $e ){
			$this->logError( $e, $statement );										//  logs Error and throws SQL Exception
		}
	}
public function exec( $statement ){
		$this->logStatement( $statement );
		try{
			$this->numberExecutes++;
			$this->numberStatements++;
			return parent::exec( $statement );
		}
		catch( \PDOException $e ){
			$this->logError( $e, $statement );										//  logs Error and throws SQL Exception
		}
	}
public function exec ( $ statement ) { $ this -> logStatement ( $ statement ) ; try { $ this -> numberExecutes ++ ; $ this -> numberStatements ++ ; return parent :: exec ( $ statement ) ; } catch ( \ PDOException $ e ) { $ this -> logError ( $ e , $ statement ) ; //  logs Error and throws SQL Exception } }
Executes a Statement and returns Number of affected Rows.
@access		public
@param		string		$statement			SQL Statement to execute
@return		int
Executes a Statement and returns Number of affected Rows .