Sqlalchemy complex in_ clause

Posted by lostlogic on Stack Overflow See other posts from Stack Overflow or by lostlogic
Published on 2009-06-04T01:40:38Z Indexed on 2010/04/01 21:53 UTC
Read the original article Hit count: 296

Filed under:
|
|

I'm trying to find a way to cause sqlalchemy to generate sql of the following form:

select * from t where (a,b) in ((a1,b1),(a2,b2));

Is this possible?

If not, any suggestions on a way to emulate it?

Thanks kindly!

© Stack Overflow or respective owner

Related posts about sqlalchemy

Related posts about sql