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

[Sqlalchemy-users] MySQL config file support

2006-08-23 Thread Monty Taylor
Hi - sorry for the cross post - but it's the same general idea. I've got a possible tiny patch for better MySQL support - but I'm not 100% sure what would be the 'best' way to do it would be. Briefly... (this is in response to having read the turbogears wiki article about using a socket file) if

Re: [Sqlalchemy-users] foreignkey with explicit "key" keyword

2006-08-23 Thread Pete Taylor
working excellently now... thank you much! On 8/22/06, Michael Bayer <[EMAIL PROTECTED]> wrote: > ok well, that was quite small so rev 1818 fixes it. however i > havent gone too deeply into testing beyond your example so keep me > posted of how much futher your program gets. > > On Aug 22, 2006