diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-02 22:56:19 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-02 22:56:19 +0000 |
commit | c1e0978556c50a44b371a196fecfb08f0117c047 (patch) | |
tree | 38757ccc1fc2affffbbf980adaed2b682e6899e0 /lib/sqlalchemy/sql/expression.py | |
parent | 9a84fa585bf7ee9db7de0abc9b175cd397199335 (diff) | |
download | sqlalchemy-c1e0978556c50a44b371a196fecfb08f0117c047.tar.gz |
- Primary key values can now be changed on a joined-table inheritance
object, and ON UPDATE CASCADE will be taken into account when
the flush happens. Set the new "passive_updates" flag to False
on mapper() when using SQLite or MySQL/MyISAM. [ticket:1362]
- flush() now detects when a primary key column was updated by
an ON UPDATE CASCADE operation from another primary key, and
can then locate the row for a subsequent UPDATE on the new PK
value. This occurs when a relation() is there to establish
the relationship as well as passive_updates=True. [ticket:1671]
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions