Hi everyone!
I'd like to add a filter to a relation, so that it ignores records of
the "remote" table if they're flagged as "logically_deleted" (a
boolean field of the child table)

For example, if an object "parent" has a "children" relation that has
3 records, but one of them is logically deleted, I'd like SQLA to
fetch just the other two..
How should it be done? By adding an "and" condition to the primaryjoin
parameter of the relation?

Thanks for your time!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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