From: Federico Caselli Date: Wed, 3 Nov 2021 21:47:51 +0000 (+0100) Subject: add missing info from groupby documentation X-Git-Tag: rel_2_0_0b1~671 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=245a6ce87dbf0abf25d71074b8597bb2a0f8d5fe;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add missing info from groupby documentation Change-Id: Icfaf242353c23a579fe79f9d72500a08d90fcb77 Signed-off-by: Federico Caselli --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index ebe8bb0e1c..8013477fa9 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -3819,6 +3819,8 @@ class GenerativeSelect(DeprecatedSelectBaseGenerations, SelectBase): r"""Return a new selectable with the given list of GROUP BY criterion applied. + All existing GROUP BY settings can be suppressed by passing ``None``. + e.g.:: stmt = select(table.c.name, func.max(table.c.stat)).\