]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow None to cancel Query.group_by()
authorIuri Diniz <iuridiniz@gmail.com>
Fri, 29 Jul 2016 16:54:22 +0000 (12:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Jul 2016 22:44:34 +0000 (18:44 -0400)
commit05f28ba2fb6b9fe1e36748bb16969afc8375a9fb
tree8bd788bc9cfc54447b1baaf964f996bafc1801d3
parent64424b870beef2bdb5a7b97ddb5c2602277d16ac
Allow None to cancel Query.group_by()

This replicates the same behavior as order_by().

order_by() will also be updated to deprecate passing
of False as this is no longer functionally different
than passing None.

Change-Id: I2fc05d0317d28b6c83373769a48f7eea32d56290
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/297
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/orm/query.py
test/orm/test_query.py