j4mie / idiorm

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
http://j4mie.github.com/idiormandparis/
2.01k stars 369 forks source link

Question: Solving the N+1 query problem #109

Closed tomvo closed 11 years ago

tomvo commented 11 years ago

I know the N+1 problem is not within the 80/20 rule Idiorm/Paris is trying to solve but we would like to extend this a bit within our own framework. Any of you tried to solve this problem already with Idiorm/Paris? Any suggestions on how to approach this?

tassoevan commented 11 years ago

I think this is an ORM common problem. Maybe adding a abstract method on Paris models can solve the problem.