I just learned about dynamic loading and was able to implement that so that 
I could filter on a relationship

matched_objects = foo.relationship.filter(RelationshipClass.property 
=="mustmatch").all()
if len(matched_objects) > 0:
    continue

Currently I typically loop and check to see if the property matches, I'd 
prefer to do the dynamic loading but was wondering if I would take a 
penalty on speed if I used it a lot.

-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to