What is the proper way to use a subquery as the FROM clause, while
being able to use the Query.join() method?

Here is an example of what I mean: http://pastebin.com/RUktuZZm

The docs at 
http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.subquery
state: "Eager JOIN generation within the query is disabled.".
If I understand it correctly, is there a specific reason for this not
being enabled by default, or possible at all?

Many thanks.

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