hi

i have A, B, C,... inheritance, where A points to some X.
how i query all Xs which are pointed by, say Cs ?

if i put a backref on the reference, 
 query(X).join( X.all_A) will give me As Bs Cs everything...

or should that go down to joins?

ciao
svil

--~--~---------~--~----~------------~-------~--~----~
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