]> 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:10 +0000 (11:48 -0400)
commit91a0a073a01bcb7d28cb9da21c44929c8c8863e4
tree89480c154ff1bee22baf3c39198f068c9647f197
parent5072ed04520631310be9c5f273bf13210c64d37a
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