default of limit is None. All those query.select arguments go in a orm.query.QueryContext() do see its __init__ for which arg has what default.
On Tuesday 17 April 2007 09:31:04 Disrupt07 wrote: > I am defining my result list the following way: > > result = queryobject.select(mytable.c.columnname == columnname, > limit = maxResults, offset = 0) > > maxResults is the number of records I want returned. In case I > want all the records, I am setting maxResults as -1. However, this > is not working for me and nothing is being returned. How can I set > the query so that a -1 limit means "return all records"? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---