[sqlalchemy] Re: Fetching a mapped object using only its id

2009-01-20 Thread Michael Bayer
On Jan 20, 2009, at 11:34 AM, Georg Schmid wrote: I'm trying to build up the model I need in my current project, but I'm also having a few issues with implementing properties of the following kind. I want to add a property to one of my mappers. This property is supposed to refer to a

[sqlalchemy] Re: Fetching a mapped object using only its id

2009-01-20 Thread Georg Schmid
On Jan 20, 5:45 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Jan 20, 2009, at 11:34 AM, Georg Schmid wrote: I'm trying to build up the model I need in my current project, but I'm also having a few issues with implementing properties of the following kind. I want to add a

[sqlalchemy] Re: Fetching a mapped object using only its id

2009-01-20 Thread Michael Bayer
On Jan 20, 2009, at 12:55 PM, Georg Schmid wrote: On a side note, could you give me a hint on what's the difference between deferred and lazy loading? I suspect it's exactly the same thing, except one for columns only and the other one for relation()s. that's the difference, yup. the