Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling $query->joinWith called inside of other $query->joinWith within Closure #8

Closed
wants to merge 2 commits into from

Conversation

stepanselyuk
Copy link

Handling $query->joinWith called inside of other $query->joinWith within Closure (called inside Closure). Ex.:

$query->joinWith( [ 'rel1' => function($query) {
   $query->joinWith( [ 'rel2' => function($query) {
       // ...
   } ] );
} ] );

…h Closure (called inside Closure). Ex.:

```php
$query->joinWith( [ 'rel1' => function($query) {
   $query->joinWith( [ 'rel2' => function($query) {
       // ...
   } ] );
} ] );
```
@stepanselyuk stepanselyuk changed the title Handling $query->joinWith called inside of other $query->joinWith with Closure Handling $query->joinWith called inside of other $query->joinWith within Closure Aug 1, 2014
@qiangxue qiangxue closed this Aug 1, 2014
@qiangxue
Copy link
Member

qiangxue commented Aug 1, 2014

Closed as this repo is read only.

@stepanselyuk
Copy link
Author

Yes, sorry for this. I've created yiisoft/yii2#4570 in main repo.

wenbin1989 pushed a commit to wenbin1989/yii2-framework that referenced this pull request Nov 17, 2014
Adjust the "getting started" tutorial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants