]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add bindparams support for baked Result count() method
authorMalaclypse The Younger <pat-androidsrc@flyingcarsandstuff.com>
Thu, 30 Mar 2017 14:54:14 +0000 (10:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Mar 2017 16:34:41 +0000 (12:34 -0400)
commit23585b842cc31b6866447f444fb43794af31cda9
tree380af1967cbf8a32b2f4f186200588b830d37696
parente851bf436b3430ecb8dba6debb705a901e8ae8ae
Add bindparams support for baked Result count() method

Added support for bound parameters, e.g. those normally set up
via :meth:`.Query.params`, to the :meth:`.baked.Result.count`
method.  Previously, support for parameters were omitted. Pull request
courtesy Pat Deegan.

Change-Id: I8c33548cf2a483699767e459731694c8cadebff6
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/350
(cherry picked from commit 74f6c21747d07a8cf9902900df9280a84aadc2bb)
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/ext/baked.py
test/ext/test_baked.py