src/ORM/DataList.php
public function getGenerator()
    {
        $query = $this->dataQuery->query()->execute();

        while ($row = $query->record()) {
            yield $this->createDataObject($row);
        }
    }
public function getGenerator()
    {
        $query = $this->dataQuery->query()->execute();

        while ($row = $query->record()) {
            yield $this->createDataObject($row);
        }
    }
public function getGenerator ( ) { $ query = $ this -> dataQuery -> query ( ) -> execute ( ) ; while ( $ row = $ query -> record ( ) ) { yield $ this -> createDataObject ( $ row ) ; } }
Returns a generator for this DataList

@return \Generator&DataObject[]
Returns a generator for this DataList