For example, when you want to list authors who have at least one post with a title containing some key word, you can write like the following using 'leftJoin':
```php
$authors = Author::find()
->leftJoin('post', ['post.author_id' => 'author.id']) // the table name and the condition for 'ON'
[...]
So, probably you may want to use 'joinWith' like the following:
```php
$authors = Author::find()
->joinWith('posts') // the relation name
->where(['like', 'post.title', $keyword])
->all();
foreach($authors as $author) {