[sqlalchemy] Re: Changing lazy property for primary mapper on the fly

2007-03-26 Thread Koen Bok
Ok, thanks! On Mar 26, 4:26 am, Michael Bayer [EMAIL PROTECTED] wrote: no. do a clear_mappers() and build your mappers again if you need to change the base configuration. On Mar 25, 2007, at 3:35 PM, Koen Bok wrote: I get this, but that's only on a particular query object. That makes

[sqlalchemy] Re: Changing lazy property for primary mapper on the fly

2007-03-25 Thread Michael Bayer
http://www.sqlalchemy.org/docs/ datamapping.html#datamapping_selectrelations_options On Mar 25, 2007, at 6:50 AM, Koen Bok wrote: Is it possible to change the lazy property of a primary mapper of an object's relation on the fly so from then on it wil change the eager loading of that

[sqlalchemy] Re: Changing lazy property for primary mapper on the fly

2007-03-25 Thread Koen Bok
I get this, but that's only on a particular query object. That makes sense, but is there no way to 'globally' set this in the mapper? Koen On Mar 25, 4:51 pm, Michael Bayer [EMAIL PROTECTED] wrote: http://www.sqlalchemy.org/docs/ datamapping.html#datamapping_selectrelations_options On Mar

[sqlalchemy] Re: Changing lazy property for primary mapper on the fly

2007-03-25 Thread Michael Bayer
no. do a clear_mappers() and build your mappers again if you need to change the base configuration. On Mar 25, 2007, at 3:35 PM, Koen Bok wrote: I get this, but that's only on a particular query object. That makes sense, but is there no way to 'globally' set this in the mapper? Koen