]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair tutorial code example to be deterministic
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Nov 2018 00:48:45 +0000 (19:48 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Nov 2018 00:50:13 +0000 (19:50 -0500)
commit63279a69e2b9277df5e97ace161fa3a1bb4f29cd
treeda018f2529d61bdf905bbd3e9d0cadbe2c55c35c
parent253eda66981417eed6e18026888d53d7d8843b6a
Repair tutorial code example to be deterministic

A few queries featured an aggregate without a GROUP BY
or a complete ordering, causing the doctests to fail
with recent versions of SQLite.  The queries are now made
to include a GROUP BY as well as ORDER BY both columns.

Fixes: #4370
Change-Id: I904bddb4372224158fcecff9f0dbbbe7c1bf36b3
(cherry picked from commit 477a64e2b26a84cbf6d91f0ee292c7adc50d7a88)
doc/build/core/tutorial.rst