mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3128: Convenience methods for count #3879
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 16, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user flip101:
Would be nice if the EntityRepository class had methods like: countAll() and countBy(). The countBy() method would accept the same arguments as the findBy() method. Just both method would return the count(*) instead of the values
@doctrinebot commented on GitHub (May 16, 2014):
Comment created by @ocramius:
The repository API is already too cluttered.
I'd suggest that for 3.x, we may make repositories compatible with collections instead
@doctrinebot commented on GitHub (May 16, 2014):
Issue was closed with resolution "Won't Fix"