]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
yikes entirely wrong option name here
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Jan 2010 15:49:51 +0000 (15:49 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Jan 2010 15:49:51 +0000 (15:49 +0000)
doc/build/mappers.rst

index 4b0ff6f9f051e022497b03aba20467ad48b6a3ff..18ae039d9c0b66824c4316b6524a44b3e7cf0c6e 100644 (file)
@@ -1766,7 +1766,7 @@ When ``passive_deletes`` is applied, the ``children`` relation will not be loade
 Mutable Primary Keys / Update Cascades 
 ---------------------------------------
 
-When the primary key of an entity changes, related items which reference the primary key must also be updated as well.  For databases which enforce referential integrity, it's required to use the database's ON UPDATE CASCADE functionality in order to propagate primary key changes.  For those which don't, the ``passive_cascades`` flag can be set to ``False`` which instructs SQLAlchemy to issue UPDATE statements individually.  The ``passive_cascades`` flag can also be ``False`` in conjunction with ON UPDATE CASCADE functionality, although in that case it issues UPDATE statements unnecessarily.
+When the primary key of an entity changes, related items which reference the primary key must also be updated as well.  For databases which enforce referential integrity, it's required to use the database's ON UPDATE CASCADE functionality in order to propagate primary key changes.  For those which don't, the ``passive_updates`` flag can be set to ``False`` which instructs SQLAlchemy to issue UPDATE statements individually.  The ``passive_updates`` flag can also be ``False`` in conjunction with ON UPDATE CASCADE functionality, although in that case it issues UPDATE statements unnecessarily.
 
 A typical mutable primary key setup might look like: