Re: [Sqlalchemy-users] offset and limit in Query object

2006-08-23 Thread Huy Do
Thanks Michael, That is one nice mod. Exactly what I needed. Huy > dont forget selectresults: > > SelectResults(query, table.c.foo=='bar')[20:30] > > On Aug 24, 2006, at 12:16 AM, Huy Do wrote: > > >> Sorry, >> >> Nevermind me. I should just use it like query.select(limit=10, >> offset=20)

Re: [Sqlalchemy-users] offset and limit in Query object

2006-08-23 Thread Michael Bayer
dont forget selectresults: SelectResults(query, table.c.foo=='bar')[20:30] On Aug 24, 2006, at 12:16 AM, Huy Do wrote: > Sorry, > > Nevermind me. I should just use it like query.select(limit=10, > offset=20) > > Regards, > > Huy >> Hi, >> >> Is there a way to specify an offset/limit on a Query

Re: [Sqlalchemy-users] offset and limit in Query object

2006-08-23 Thread Huy Do
Sorry, Nevermind me. I should just use it like query.select(limit=10, offset=20) Regards, Huy > Hi, > > Is there a way to specify an offset/limit on a Query object ? > > It would be nice if Query could be built like in "Building Select Objects" > > Regards, > > Huy > > --

[Sqlalchemy-users] offset and limit in Query object

2006-08-23 Thread Huy Do
Hi, Is there a way to specify an offset/limit on a Query object ? It would be nice if Query could be built like in "Building Select Objects" Regards, Huy - Using Tomcat but need to do more? Need to support web services, se