« Previous | Next » 

Revision 0463ac21

ID0463ac2198ebe09dab5cc0975b380757139f2222
Parent 0c8c6a93
Child 0d2c15e4

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