mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Make QueryBuilder implement Selectable #7215
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 @cbichis on GitHub (Aug 28, 2023).
Hi,
There is any reason for which QueryBuilder does not implement Doctrine\Common\Collections\Selectable?
As obviously we can do:
$qb->addCriteria($criteria);
Where I find this useful? On using the QueryBuilder for Paginator with the Selectable + filtering/ordering: https://www.doctrine-project.org/projects/doctrine-module/en/5.3/paginator.html
@derrabus commented on GitHub (Aug 28, 2023):
It's not a collection?