Hi,

On 26/04/2013 16:41, alonn wrote:
so not to load too much into memory I should do something like:

for i in session.query(someobject).filter(id>something)
    print i

I'm guessing the answer is no, because of the nature of sql, but I'm not an expert so I'm asking.
yes you can, check out the doc for querying, e.g. the following if you use the ORM.

http://sqlalchemy.readthedocs.org/en/rel_0_8/orm/tutorial.html#querying

Werner

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to