[sqlalchemy] Is it normal that session.query(...).autoflush(False) still issues UPDATEs?

2010-04-11 Thread Peteris Krumins
Hey everyone, Is it the expected behavior that after querying an object with `session.query(...).autoflush(False)...` and modifying some of its fields still makes it issue UPDATE when a relation of the object is referenced? Let me illustrate what I mean precisely. First I query the Page class:

Re: [sqlalchemy] Is it normal that session.query(...).autoflush(False) still issues UPDATEs?

2010-04-11 Thread Michael Bayer
On Apr 11, 2010, at 4:28 PM, Peteris Krumins wrote: Hey everyone, Is it the expected behavior that after querying an object with `session.query(...).autoflush(False)...` and modifying some of its fields still makes it issue UPDATE when a relation of the object is referenced? Let me