Ouzo\Db\QueryExecutor::_fetch PHP Method

_fetch() private method

private _fetch ( $function )
    private function _fetch($function)
    {
        $statement = StatementExecutor::prepare($this->_db->_dbHandle, $this->_sql, $this->_boundValues, $this->_query->options);
        return $statement->executeAndFetch($function, $this->_fetchStyle);
    }