]> 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:48:45 +0000 (19:48 -0500)
commit477a64e2b26a84cbf6d91f0ee292c7adc50d7a88
tree21cfbecb8ce6fb0db796f666f36baefc58633306
parent996727ed89cd2403e75e3ab924f01754d408075d
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
doc/build/core/tutorial.rst