src/CarteBlanche/Library/StorageEngine/Database.php
public function query($query = null, $type = null, $method = 'query', $cached = true)
    {
        if (empty($this->__adapter)) self::_loadAdapter();
        return $this->__adapter->query( $query, $type, $method, $cached );
    }
public function query($query = null, $type = null, $method = 'query', $cached = true)
    {
        if (empty($this->__adapter)) self::_loadAdapter();
        return $this->__adapter->query( $query, $type, $method, $cached );
    }
Execute a query

@param string $query The query string to execute
@param string $type The query type (see php documentation)
@param string $method The query method to use
@param bool $cached If set to TRUE (default), the query results are first searched in the object cache
@return mixed The query result(s)
@see http://www.php.net/manual/en/function.sqlite-query.php