]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- reduce verbiage in mutation.py regarding legacy style, place under versionadded
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Nov 2013 21:32:24 +0000 (16:32 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Nov 2013 21:33:33 +0000 (16:33 -0500)
Conflicts:
lib/sqlalchemy/ext/mutable.py

doc/build/changelog/changelog_07.rst
doc/build/changelog/migration_07.rst
lib/sqlalchemy/ext/mutable.py

index 40dcc832c0934a677e71cc86703e1f92d7c2d79c..da89bbde3d9448474853219b9f67a8e10ca1e4ff 100644 (file)
 
       Mutation Event Extension, supercedes "mutable=True"
 
+      .. seealso::
+
+          :ref:`07_migration_mutation_extension`
+
     .. change::
         :tags: orm
         :tickets: 1980
index 95d6cb7db4a6e6c4ef8a21cfd9abd447bcf250ba..207397f52aad346fbcb27b55251348c88da09339 100644 (file)
@@ -278,15 +278,16 @@ unchanged:
 
 :ticket:`1923`
 
+.. _07_migration_mutation_extension:
+
 Mutation event extension, supersedes "mutable=True"
 ---------------------------------------------------
 
-A new extension, `Mutation Tracking <http://www.sqlalchemy.o
-rg/docs/07/orm/extensions/mutable.html>`_, provides a
+A new extension, :ref:`mutable_toplevel`, provides a
 mechanism by which user-defined datatypes can provide change
 events back to the owning parent or parents.   The extension
 includes an approach for scalar database values, such as
-those managed by ``PickleType``, ``postgresql.ARRAY``, or
+those managed by :class:`.PickleType`, ``postgresql.ARRAY``, or
 other custom ``MutableType`` classes, as well as an approach
 for ORM "composites", those configured using :func:`~.sqlalchemy.orm.composite`.
 
index 48c8d13cccf23fa8f1240935fe8bbad22e7c3c05..15840c57ead0f4831020de9cdab531bbfdfe6449 100644 (file)
@@ -7,13 +7,9 @@
 """Provide support for tracking of in-place changes to scalar values,
 which are propagated into ORM change events on owning parent objects.
 
-The :mod:`sqlalchemy.ext.mutable` extension replaces SQLAlchemy's legacy
-approach to in-place mutations of scalar values, established by the
-:class:`.types.MutableType` class as well as the ``mutable=True`` type flag,
-with a system that allows change events to be propagated from the value to
-the owning parent, thereby removing the need for the ORM to maintain copies
-of values as well as the very expensive requirement of scanning through all
-"mutable" values on each flush call, looking for changes.
+.. versionadded:: 0.7 :mod:`sqlalchemy.ext.mutable` replaces SQLAlchemy's
+   legacy approach to in-place mutations of scalar values; see
+   :ref:`07_migration_mutation_extension`.
 
 .. _mutable_scalars: