]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Document Query deduplication
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Sep 2019 15:46:44 +0000 (11:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Sep 2019 15:48:21 +0000 (11:48 -0400)
commita70896bebe87368290a50a7bdc75179693b6b8e2
treea00cacc6a82beb8aaaaea14a55113692a768b934
parent11ee10b4f753be4246b12ac30a8ad3d8f2737811
Document Query deduplication

Users are frequently confused why count() does not return the same
number as the number of objects returned by all().  While we continue
to want to find a better solution to this problem, in the meantime
this has never been clearly documented.  Add an FAQ section with
links from .count() , .all(), ORM tutorial.

Change-Id: I6eff36b686ff6cdd55489036fc48a981bc47d5ee
(cherry picked from commit 75c3950732a66ff7f4aca152653d6cb14eb9783c)
doc/build/faq/sessions.rst
doc/build/orm/tutorial.rst
lib/sqlalchemy/orm/query.py