[DDC-1637] Linq-like Filter API for collections Created: 06/Feb/12 Updated: 09/Jul/12 Resolved: 09/Jul/12
|Project:||Doctrine 2 - ORM|
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
We want an API that allows users to filter collections to subsets on the SQL level during the runtime (not using DQL).
The language of this Expressions for selecting entities out of a collection has to be so simple that it works on both arrays and any persistence backed data-source.
The Collection#select() method would return a new collection that is not equal the invoked collection.
|Comment by Benjamin Eberlei [ 08/Feb/12 ]|
First API example: https://gist.github.com/1766769
|Comment by Benjamin Eberlei [ 16/Mar/12 ]|
There is a PR now https://github.com/doctrine/common/pull/117
|Comment by Benjamin Eberlei [ 09/Jul/12 ]|