diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-19 19:16:26 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-19 19:16:26 -0500 |
| commit | 63508b82cd5710c660383bcac5fcfd3bb6af83c1 (patch) | |
| tree | d1d37de872d048d2beff170dac5324394ec58e99 /lib/sqlalchemy/sql/elements.py | |
| parent | 452ce0c2e7fae13a569341cbbe6f3a988c0c6360 (diff) | |
| download | sqlalchemy-63508b82cd5710c660383bcac5fcfd3bb6af83c1.tar.gz | |
- The ``viewonly`` flag on :func:`.relationship` will now prevent
attribute history from being written on behalf of the target attribute.
This has the effect of the object not being written to the
Session.dirty list if it is mutated. Previously, the object would
be present in Session.dirty, but no change would take place on behalf
of the modified attribute during flush. The attribute still emits
events such as backref events and user-defined events and will still
receive mutations from backrefs. [ticket:2833]
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
0 files changed, 0 insertions, 0 deletions
