phalcon.eager-loading icon indicating copy to clipboard operation
phalcon.eager-loading copied to clipboard

Solves N+1 query problem in Phalcon Model

Results 7 phalcon.eager-loading issues
Sort by recently updated
recently updated
newest added

Hi everyone! I'm new in phalcon and php. I'm using phalcon version 1.3. Can someone help how to setup and use this package on existing project please?! Thanks!

Would be nice if you would create a wrapper for `toArray()`, making the following output: ``` php /* Entry belongsTo Channel, Entry hasMany Files */ $result = Entries::with('Channel', 'Files'); print_r($result->toArray());...

Since Phalcon 2.0.4 it's possible to write conditions on relationships [2.0.4 changes, under Relationships with conditionals](https://blog.phalconphp.com/post/phalcon-2-0-4-released) But it seems to fail when using the Loader ``` php $users = Loader::fromResultset($users,...

Changes on 5.3 branch ONLY. Consider porting to master. Added EagerResultset to help identify and work with result array; now adds {alias}_eager property on models to help determine if results...

Hi, I was taking a look at https://github.com/stibiumz/phalcon.eager-loading/blob/master/src/EagerLoading/EagerLoad.php#L157 the property `_related` where the relationships are stored is not filled. This is causing me a problem. When I want to check...

Is it possible to use this extension **without** incubator? It's because we have **less** performance when we use incubator. If not, is it possible to make a **zephir** version of...

On a hasManytoMany relationship it fails when one of the parent element does not have relationship: On a model: ``` php $this->hasManyToMany( "id", 'App\Tag\Models\ElementTag', "element_id", "tag_id", 'App\Tag\Models\Tag', "id", array('alias' =>...