Jaymon / prom

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

Could query.Iterator extend list? #53

Closed Jaymon closed 3 years ago

Jaymon commented 7 years ago

would be really handy if it could almost completely mimic list but be an iterator on the backend, it already does most of it but because it doesn't extend list you lost out on some functionality

Jaymon commented 6 years ago

Iterator should also deal with slices

https://stackoverflow.com/questions/2936863/python-implementing-slicing-in-getitem

Jaymon commented 6 years ago

Enno actually extends list so this is definitely possible