Feature #3337

Allow to count lazy-loaded objects without fetching them from the persistence layer

Added by Bastian Waidelich about 12 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Target version:
-
Start date:
2009-05-16
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

It should be possible to count objects in a repository without the need to actually fetch and initialize them.
It would be useful to be able to call

count($blog->posts);
without actually fetching all posts.


Related issues

Related to TYPO3.Flow - Major Feature #6267: Speed up persistenceResolvedKarsten Dambekalns2010-01-18

Actions
Blocked by TYPO3.Flow - Feature #6120: Re-implement lazy loading in persistence...ResolvedKarsten Dambekalns2010-01-20

Actions
#1

Updated by Robert Lemke about 12 years ago

  • Target version set to 283
#2

Updated by Robert Lemke about 12 years ago

  • Priority changed from Should have to Could have
  • Target version changed from 283 to 1.0 alpha 2
#3

Updated by Robert Lemke about 12 years ago

  • Target version changed from 1.0 alpha 2 to 283
#4

Updated by Robert Lemke about 12 years ago

  • Target version deleted (283)
#5

Updated by Karsten Dambekalns almost 12 years ago

  • Status changed from New to Accepted
#6

Updated by Karsten Dambekalns over 11 years ago

  • Subject changed from Allow to count lazy-loaded objects without fetching them from the CR to Allow to count lazy-loaded objects without fetching them from the persistence layer
  • Priority changed from Could have to Should have
#7

Updated by Jochen Rau over 11 years ago

I have implemented this in Extbase with a initialize template method in the LazyLoadingProxy/LazyObjectStorage.

#8

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3930.

Also available in: Atom PDF