]> 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:46:44 +0000 (11:46 -0400)
commit75c3950732a66ff7f4aca152653d6cb14eb9783c
treee26a27764108476c326535a3791be09c64dfba84
parentc3dcdbd21de44b23e527f5580c318e47ea6930a7
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
doc/build/faq/sessions.rst
doc/build/orm/tutorial.rst
lib/sqlalchemy/orm/query.py