DDC-1103: Addding an event before the load of collections #1700

doctrinebot opened this Issue Apr 5, 2011 · 2 comments

3 participants


Jira issue originally created by user stof:

An event triggered when loading collections would be useful for performances. The use case would be batch querying some stuff instead of doing a query per object of the collection in a postLoad event.
For instance, the Translatable extension from https://github.com/l3pp4rd/DoctrineExtensions loads the translations on postLoad which result in many queries. Being able to load them all in a single query would be useful.


Comment created by gediminasm:

I think custom persisters will solve these issues, lets wait for them, there are already enough events

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Doctrine member

Valid concern, should probably be addressed in 3.0

@billschaller billschaller added this to the 3.0 milestone Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment