]> 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:15 +0000 (11:48 -0400)
commitd57dadc08f9c07f640d3ac96ce0d402fdcb1c109
treea19aa49962b378be9c01008ae3f7ca41b35c87b0
parentde2ed0183754109f4c309b462bba58a4a0d4547f
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