]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Merge "Allow stringify compiler to render unnamed column"
authormike bayer <mike_mp@zzzcomputing.com>
Fri, 2 Sep 2016 16:23:31 +0000 (12:23 -0400)
committerGerrit Code Review <gerrit2@ln3.zzzcomputing.com>
Fri, 2 Sep 2016 16:23:31 +0000 (12:23 -0400)
1  2 
doc/build/changelog/changelog_11.rst

index 669f081884db93bbc3977d98f8b396724dd0cdc6,c038966c5dbfb2f016f2addea766efb3a5f2f6a4..a0970348911e60d784006429616a64802bfcb2f5
  .. changelog::
      :version: 1.1.0
  
 +    .. change::
 +        :tags: bug, orm
 +        :tickets: 3788
 +
 +        Fixed bug where the "simple many-to-one" condition that allows  lazy
 +        loading to use get() from identity map would fail to be  invoked if the
 +        primaryjoin of the relationship had multiple clauses separated by AND
 +        which were not in the same order as that of the primary key columns
 +        being compared in each clause. This ordering
 +        difference occurs for a composite foreign key where the table-bound
 +        columns on the referencing side were not in the same order in the .c
 +        collection as the primary key columns on the referenced side....which
 +        in turn occurs a lot if one is using declarative mixins and/or
 +        declared_attr to set up columns.
 +
+     .. change::
+         :tags: bug, sql
+         :tickets: 3789
+         Stringify of expression with unnamed :class:`.Column` objects, as
+         occurs in lots of situations including ORM error reporting,
+         will now render the name in string context as "<name unknown>"
+         rather than raising a compile error.
      .. change::
          :tags: bug, sql
          :tickets: 3786