Resolverd no. 5:

session.query(Projects).filter(Projects.students.any(and_(Person.gender == 
False, Person.name.like('M%') )))\
    .update({Projects.name: u'New project name', Projects.supervisor_id: 
1}, synchronize_session=False)



Again many thanks Michael :)

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to