Feature #6685

Implement countAll() and countByFoo('bar') in the Persistence Repository

Added by Jochen Rau over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-03-03
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
PHP Version: Complexity:
Has patch:

Description

I have implemented this handy methods in Extbase to invoke $query->matching()->count().

Associated revisions

Revision 2f54ad22
Added by Karsten Dambekalns over 5 years ago

[+FEATURE] FLOW3 (Persistence): The Repository class now has countAll() and countBy*() support, resolves #6685.
[~API] FLOW3 (Persistence): Renamed findByUUID() to findByUuid().
[+API] FLOW3 (Persistence): Added countAll() and countBy*() to RepositoryInterface, relates to #6685; added some more (existing) signatures to the interface as well.

History

#1 Updated by Jochen Rau over 5 years ago

This feature request is related to #6234.

#2 Updated by Karsten Dambekalns over 5 years ago

  • Status changed from New to Accepted
  • Target version set to 1.0 alpha 8

#3 Updated by Karsten Dambekalns over 5 years ago

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

Applied in changeset r3904.

Also available in: Atom PDF