Criteria for Collections #542

Closed
brainartdev opened this Issue Feb 13, 2014 · 2 comments

Comments

Projects
None yet
3 participants

How about implementing Criteria functionality that can be used for already populated Collections?

Pluses:

  • it makes use of already cached collections - they do not need re-fetch from database
  • one can further filter collections using powerful criteria API

Minuses:

  • very difficult to achieve database functionality (e.g collation) in PHP
Member

staabm commented Feb 13, 2014

Do you have a certain use-case in mind? In most cases the DB can do things a lot faster and more effiencent...

Owner

marcj commented Apr 12, 2014

That is very time consuming and will not be really fast in plain php. We should better let highly optimized database do the filter part. They are good at it, way better then we'll ever be in php.

marcj closed this Apr 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment