Fire/Sql/Connector.php
public function query($sql)
    {
        // get start time of sql execution
        $start = $this->_firebug->timer();
        // execute sql
        $records = $this->_pdo->query($sql);
        // record sql statement
        if ($this->_firebug->isEnabled()) {
            $trace = debug_backtrace();
            $this->_recordSqlStatement($start, $sql, $trace);
        }

        return $records;
    }
public function query($sql)
    {
        // get start time of sql execution
        $start = $this->_firebug->timer();
        // execute sql
        $records = $this->_pdo->query($sql);
        // record sql statement
        if ($this->_firebug->isEnabled()) {
            $trace = debug_backtrace();
            $this->_recordSqlStatement($start, $sql, $trace);
        }

        return $records;
    }
public function query ( $ sql ) { // get start time of sql execution $ start = $ this -> _firebug -> timer ( ) ; // execute sql $ records = $ this -> _pdo -> query ( $ sql ) ; // record sql statement if ( $ this -> _firebug -> isEnabled ( ) ) { $ trace = debug_backtrace ( ) ; $ this -> _recordSqlStatement ( $ start , $ sql , $ trace ) ; } return $ records ; }
Executes a SQL query. This meathod is meant for executing
SQL queries that will return records.
@param string $sql
@return array
Executes a SQL query . This meathod is meant for executing SQL queries that will return records .