diff options
-rw-r--r-- | doc/build/changelog/changelog_09.rst | 5 | ||||
-rw-r--r-- | doc/build/changelog/migration_09.rst | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst index 16297e23f..6ac4d1726 100644 --- a/doc/build/changelog/changelog_09.rst +++ b/doc/build/changelog/changelog_09.rst @@ -21,8 +21,9 @@ new copy is assigned the actual type of the compared column. Previously, this logic would occur on the given :func:`.bindparam` in place. Additionally, a similar process now occurs for :func:`.bindparam` constructs - passed to :meth:`.ValuesBase.values` for a :class:`.Insert` or - :class:`.Update` construct. + passed to :meth:`.ValuesBase.values` for an :class:`.Insert` or + :class:`.Update` construct, within the compilation phase of the + construct. These are both subtle behavioral changes which may impact some usages. diff --git a/doc/build/changelog/migration_09.rst b/doc/build/changelog/migration_09.rst index d80bc3040..f0254c789 100644 --- a/doc/build/changelog/migration_09.rst +++ b/doc/build/changelog/migration_09.rst @@ -330,8 +330,9 @@ The logic which "upgrades" a :func:`.bindparam` construct to take on the type of the enclosing expression has been improved in two ways. First, the :func:`.bindparam` object is **copied** before the new type is assigned, so that the given :func:`.bindparam` is not mutated in place. Secondly, this same -operation occurs within the :meth:`.Values.values` method of :class:`.Insert` -and :class:`.Update`. +operation occurs when an :class:`.Insert` or :class:`.Update` construct is compiled, +regarding the "values" that were set in the statement via the :meth:`.ValuesBase.values` +method. If given an untyped :func:`.bindparam`:: |