Michael,

do you mean, that subqueries could not be wrapped into sqlalchemy?
what should be the arguments to join() I failed to figure out? how do
I reference different instances of seq in fileter() after?

Thanks,
A

On Jun 19, 7:43 am, "Michael Bayer" <mike...@zzzcomputing.com> wrote:

> you can map to any select(), but since the statement here is a runtime
> thing just map to the "seq" table normally and use Query as needed to
> construct the joins and filter criterion.   If you're looking to automate
> adding N joins, just build a function that calls query.join() the
> appropriate number of times.   For an example of a completely different
> use case where a self-referential query.join() is being called an
> arbitrary number of times, see the elementtree/optimized_al.py example in
> the distribution.
--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to