]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix default label style doc
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 23 Jun 2024 14:18:47 +0000 (10:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 23 Jun 2024 14:19:06 +0000 (10:19 -0400)
Change-Id: I793f7b62c6c0b551ab1957cabcff685885b6e51c
(cherry picked from commit c43238252f96a1f9370d1bc7ff440897b751b2b8)

lib/sqlalchemy/sql/selectable.py

index c6e598504b39050bf4bee1b9cffdb15b1c8fa1cd..a178458480b48474b3944b9ca1d86e8f539414f9 100644 (file)
@@ -3856,7 +3856,7 @@ class GenerativeSelect(SelectBase, Generative):
         :attr:`_sql.SelectLabelStyle.LABEL_STYLE_DISAMBIGUATE_ONLY`,
         :attr:`_sql.SelectLabelStyle.LABEL_STYLE_TABLENAME_PLUS_COL`, and
         :attr:`_sql.SelectLabelStyle.LABEL_STYLE_NONE`.   The default style is
-        :attr:`_sql.SelectLabelStyle.LABEL_STYLE_TABLENAME_PLUS_COL`.
+        :attr:`_sql.SelectLabelStyle.LABEL_STYLE_DISAMBIGUATE_ONLY`.
 
         In modern SQLAlchemy, there is not generally a need to change the
         labeling style, as per-expression labels are more effectively used by