src/Readdle/Database/FQDBQueryAPI.php
public function queryTableGenerator($query, $options = [])
    {
        $statement = $this->_runQuery($query, $options);
        while ($row = $statement->fetch(\PDO::FETCH_ASSOC)) {
            yield $row;
        }
    }
public function queryTableGenerator($query, $options = [])
    {
        $statement = $this->_runQuery($query, $options);
        while ($row = $statement->fetch(\PDO::FETCH_ASSOC)) {
            yield $row;
        }
    }
public function queryTableGenerator ( $ query , $ options = [ ] ) { $ statement = $ this -> _runQuery ( $ query , $ options ) ; while ( $ row = $ statement -> fetch ( \ PDO :: FETCH_ASSOC ) ) { yield $ row ; } }
Execute a query and makes generator from the result

@param       $query
@param array $options
@return \Generator
Execute a query and makes generator from the result