From:
http://www.sqlalchemy.org/docs/orm/relationships.html?highlight=backref#association-object
I'm able to get the association to work, and according to the docs,
adding the backref allows the query to be executed in reverse.
How do I get the Parent of Child #1? Obviously I could query Child,
On 2010-09-25 2:29 PM, Mark Erbaugh wrote:
If I retrieve data strictly for reporting or other read-only use,
e.g. the session will not be used to update data, should I expunge
the objects returned by the query from the session? If I just let
the session object go out of scope is that sufficient?
If I retrieve data strictly for reporting or other read-only use, e.g. the
session will not be used to update data, should I expunge the objects returned
by the query from the session? If I just let the session object go out of
scope is that sufficient?
Thanks,
Mark
--
You received this mess