[sqlalchemy] Re: generative queries

2008-09-17 Thread Michael Bayer
On Sep 17, 2008, at 8:57 AM, Empty wrote: > > Hello, > >> Im using 0.4.5, is this feature only available in 0.5? > > Yes, it's not available in 0.4.5. There is the predecessor _values > available in 0.4.5. It was experimental and it's behavior has changed > somewhat but will basically do the sa

[sqlalchemy] Re: generative queries

2008-09-17 Thread Empty
Hello, > Im using 0.4.5, is this feature only available in 0.5? Yes, it's not available in 0.4.5. There is the predecessor _values available in 0.4.5. It was experimental and it's behavior has changed somewhat but will basically do the same thing. Michael > On Sep 16, 4:02 pm, Michael Bayer <

[sqlalchemy] Re: generative queries

2008-09-17 Thread Grimsqueaker
Im using 0.4.5, is this feature only available in 0.5? On Sep 16, 4:02 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > On Sep 16, 2008, at 3:51 AM, Grimsqueaker wrote: > > > > > I'm having some trouble using generative queries. In my case, I want > > to compile a query and then add further from (j

[sqlalchemy] Re: generative queries

2008-09-16 Thread Michael Bayer
On Sep 16, 2008, at 3:51 AM, Grimsqueaker wrote: > > I'm having some trouble using generative queries. In my case, I want > to compile a query and then add further from (join) clauses onto it > and change the column clause so that I get different results each > time. I can add from, where and co

[sqlalchemy] Re: Generative queries in SA0.3 ?

2007-11-19 Thread exhuma.twn
On Nov 19, 12:41 pm, Glauco <[EMAIL PROTECTED]> wrote: > exhuma.twn ha scritto: > > > > > I have seen that in SA 0.4 on can do something like: > > > q = table.select() > > q = q.where(x=1) > > q = q.where(z=2) > > ... > > > Is this also possible in SA 0.3? > > > I want to build a web-page where a

[sqlalchemy] Re: Generative queries in SA0.3 ?

2007-11-19 Thread Glauco
exhuma.twn ha scritto: > I have seen that in SA 0.4 on can do something like: > > q = table.select() > q = q.where(x=1) > q = q.where(z=2) > ... > > Is this also possible in SA 0.3? > > I want to build a web-page where a user can refine filters on the go, > to perform a drill-down in a data set. D

[sqlalchemy] Re: Generative queries in SA0.3 ?

2007-11-18 Thread Michael Bayer
On Nov 18, 2007, at 11:26 AM, exhuma.twn wrote: > > I have seen that in SA 0.4 on can do something like: > > q = table.select() > q = q.where(x=1) > q = q.where(z=2) > ... > > Is this also possible in SA 0.3? 0.3. can build up selects by using methods such as append_whereclause(). but in 0.3