Skip to content

Added support for mixed join types in array-syntax

Compare
Choose a tag to compare
@tylernathanreed tylernathanreed released this 25 Jul 22:23
· 77 commits to master since this release

Example:

User::query()->joinRelation('posts.comments', [
    'comments' => function ($join) { $join->type = 'left'; }
});