mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #560] [CLOSED] Add EntityRepository->countBy() method to complement findBy() #8376
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/560
Author: @alex-signature-it
Created: 1/27/2013
Status: ❌ Closed
Base:
master← Head:717fd3d9bca894354fce650f70008d468128ca04📝 Commits (1)
717fd3dAdd EntityRepository->countBy() method to complement findBy()📊 Changes
6 files changed (+187 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/EntityRepository.php(+18 -0)📝
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(+48 -0)📝
tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php(+83 -0)📝
tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php(+12 -0)📝
tests/Doctrine/Tests/ORM/Functional/SingleTableInheritanceTest.php(+23 -0)📝
tests/Doctrine/Tests/ORM/Functional/TypeTest.php(+3 -1)📄 Description
It would be reasonable to add the method to ObjectRepository interface, but I might not be aware of all its implementations that will become broken
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.