Thanks for the reply but still m not able to make as i stated in the example regarding the input
On Jun 26, 8:27 pm, "Michael Bayer" <mike...@zzzcomputing.com> wrote: > Ashish Bhatia wrote: > > > :( Is it possible ! > > > On Jun 23, 3:32 pm, Ash <ashishsinghbha...@gmail.com> wrote: > >> Hello, > > >> I am tryin to make the dynamic where clause using append_whereclause. > > >> But how i can do that, For eg : > > >> I have a==b and c in (1,2,3,4) or d like %s > > >> So i made three sqlalchemy expression > > >> 1. a==b > >> 2. c in (1,2,3,4) [ using in_] > >> 3. d like %s [using like] > > >> now i want this 3 to stuff in where clause . > > >> I created select like sel = select() > > >> How can i make the where clause which have and and or both uisng > >> append_whereclause. > > construct using and_() and or_(), then use a single where() to set it. > > > > > > >> Thnks in advance --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---