hi
i'm back into my hierachy/graph of objects, which has many paths 
reaching from one end to another - A-Z, A-B-Z, A-B-C-Z etc. Using 
hierarchical OR (AND (OR ...))) works but gets very slow as all the 
20+ tables involved go in same FROM clause. 
so i have these questions:
 - (theoretical) can the alternative made by many ORs over 
subexpressions at same level be represented with UNION of things made 
from those subexpressions?
 - can i use query().join() to form the expression and stick it into 
the union somehow? should i take query.criterion or something else?
 - can then the union be put into the query of say root object?

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