]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair queries from #5134 to ORDER BY outside the subquery
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 29 Mar 2020 16:06:29 +0000 (12:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 29 Mar 2020 16:15:15 +0000 (12:15 -0400)
commit48eb5180dd07600eddc3dbda8fe09666211b3cc9
tree7f2c7b87da4b89259f744ffe686001bf08afb95e
parentee1e1e2f5540a6e32986b1041db4dfd55894e68b
Repair queries from #5134 to ORDER BY outside the subquery

ORDER BY has to be on the outermost query to guarantee ordering
as these tests were failing for SQL Server.   Also add
new tests that don't use from_self() as this is also going to
be removed in 2.0.

Also propose some from_self() alternatives.  References #5221

Change-Id: Ia2a669f45fcaada607e73d9225849fd74d25f6e5
test/orm/test_query.py