Just for curiosity, what happens if you do it in pure sql? for row in db.executesql("select * from file_properties where id > 0"):
# do something Does it have a lower memory usage? On Thu, May 10, 2012 at 4:14 AM, Bruce Wade <bruce.w...@gmail.com> wrote: > for row in db( db.file_properties.id > 0 ).select( -- Bruno Rocha [http://rochacbruno.com.br]