some code like below:
session.query(MODEL).all()
it will return all items with the type list
this means that, it will take a lots memory if there are a large amount items?
How can i got a iterable object, but not list.
some code like below:
session.query(MODEL).all()
it will return all items with the type list
this means that, it will take a lots memory if there are a large amount items?
How can i got a iterable object, but not list.