[sqlalchemy] checking if a column is in a list

2009-01-21 Thread Jack Stahl
Hello, I've got a few SQL interfaces where I'd like to change my query based on the columns required by the client. For example, in one situation, I only join against my User table if my client requires a photo id: # cols is the list of columns the client would like selected if User.c.photo_id

[sqlalchemy] Re: checking if a column is in a list

2009-01-21 Thread Jack Stahl
Thanks Michael! Properly was a poor choice of words on my part. Yes, of course, == is overloaded to make where (etc) clauses pretty, I just didn't put two and two together. --jack On Wed, Jan 21, 2009 at 5:38 PM, Michael Bayer mike...@zzzcomputing.comwrote: On Jan 21, 2009, at 7:46 PM, Jack

[sqlalchemy] Insert Multiple Items into a list

2008-09-30 Thread Jack Stahl
could somehow use compile bind parameters to support, but my efforts were futile. Thanks, Jack Stahl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy