foreach ($this->db->fetchAll($query, array($yearStart, $yearEnd)) as $row) {
            yield new Entry($row['id']);
        }