a lazy loader calls a function "object_session(instance)" to locate the current session to which an instance is bound. this function is a simple hash lookup and is defined in sqlalchemy.orm.session.
On Feb 18, 2007, at 12:51 PM, Paul Johnston wrote: > > Hi, > > A plain old mapper isn't attached to a session. How does it issue the > queries it needs to do, e.g. when loading a relation? > > Paul > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---