isn't it going to be usable if 
 klas.some2many_relation == obj 
is automaticaly rendered as 
 klas.some2many_relation.contains( obj)
?
unless the == in that case has some other meaning...

i'm using some query-building-functions over mixture of plain 
references and many2many and switching between the syntaxes depending 
on the attr is somewhat guesswork.

btw same goes for
 klas.some2many_relation.has( ... ) into .any()

ciao
svil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to