In SQLAlchemy 0.3.11 I had a query similar to the following:
  session.query(User).select(user_def.c.id==1,
from_obj=[user_def.join(role_def)])

(where user_def and role_def are instances of Table and User is an
object mapped to table user_def)

Now I installed SQLAlchemy 0.4.5 and have to modify this query.
  session.query(User).select().where(user_def.c.id==1)

The problem I encountered is how can I redefine the from_obj part.
  from_obj=[user_def.join(role_def)]

Can someone help?

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to