Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

Iterator code is really crazy #63

Closed Jaymon closed 3 years ago

Jaymon commented 6 years ago

We have BaseIterator, Iterator, ResultsIterator, AllIterator, and now CursorIterator.

I feel we can probably combine some of these (ie, ResultsIterator could just have an all flag that makes it work like the AllIterator) and simplify everything.