summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/declarative.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-23 00:35:56 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-23 00:35:56 +0000
commit733d8e593a611b4601ec2ee197ca112250111b64 (patch)
treefcee2bdcb033b0abdaba9286002c46582447dcbf /lib/sqlalchemy/ext/declarative.py
parent2a1eca4bbc74347a213fb22b628eae1b1762004d (diff)
downloadsqlalchemy-733d8e593a611b4601ec2ee197ca112250111b64.tar.gz
- session.merge() will not expire existing scalar attributes
on an existing target if the target has a value for that attribute, even if the incoming merged doesn't have a value for the attribute. This prevents unnecessary loads on existing items. Will still mark the attr as expired if the destination doesn't have the attr, though, which fulfills some contracts of deferred cols. [ticket:1681] - session.merge() works with relations that specifically don't include "merge" in their cascade options - the target is ignored completely.
Diffstat (limited to 'lib/sqlalchemy/ext/declarative.py')
0 files changed, 0 insertions, 0 deletions