From: Federico Caselli Date: Wed, 3 Nov 2021 21:47:51 +0000 (+0100) Subject: add missing info from groupby documentation X-Git-Tag: rel_1_4_27~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb6bddb160fd8ba1cf87b6c4548ec9a29c34c279;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 aed6482972..9143602970 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)).\