> query.join() is only intended for relations().  To join on tables
> directly use query.select_from(table1.join(table2,
> onclause)).filter(..)...etc.
>
> - mike


Now that query(TYPE).select_from is deprecated,  is there a preferred
form?

I actually need to something like the follow
subquery = session.query(ATYPE).filter_by (...)

session.query(BTYPE).select_from ( subquery).filter_by
(subquery.c.col_id == BTYPE.c.id)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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