Feature #5149

Support counting objects in persistence queries

Added by Karsten Dambekalns almost 12 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Start date:
2009-10-27
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

To count results currently something like this is needed:

function findAllCount() {
  $query = createQuery;
  $videos = $query->execute();
  return count($videos);
}

We need something like:

function findAllCount() {
  $query = createQuery;
  return $query->count();
}

See #4991 for the original request on Extbase.

#1

Updated by Karsten Dambekalns almost 12 years ago

  • Target version set to 1.0 alpha 7
#2

Updated by Karsten Dambekalns almost 12 years ago

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

Applied in changeset r3532.

Also available in: Atom PDF