« Previous | Next » 

Revision 6ae83490

ID6ae83490ea1a5b52ae1748b56a9066380cc391db
Parent 64dccc02
Child a8021337

Added by Bastian Waidelich over 6 years ago

[BUGFIX] 1st level cache for ``QueryResult::count()``

Counting the results of the ``QueryResultInterface`` proxy that is
returned by Repository finder methods always executed a ``COUNT query``,
even if the results have been fetched or counted already.

With this patch the number of results is cached as soon as the
result is initialized and/or counted once.

Change-Id: Ib5dc8fd64787e944338691789069d5c7f7130774
Fixes: FLOW-326
Releases: master, 3.0, 2.3, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted