Review main Merged

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

Mathias Brodala CR +2 V +2 Easy +30 −4 updated 06/30/15, 22:29

Commit message

Counting the results of the ``QueryResultInterface`` proxy returned by
Repository finder methods always executed a ``COUNT query`` even if
the results had 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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2