Skip to content

Commit 944c218

Browse files
authored
Support eager loading with limit (#9261)
1 parent 0e0ba8b commit 944c218

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

eloquent-relationships.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,9 +1739,6 @@ In this example, Eloquent will only eager load posts where the post's `title` co
17391739
$query->orderBy('created_at', 'desc');
17401740
}])->get();
17411741

1742-
> [!WARNING]
1743-
> The `limit` and `take` query builder methods may not be used when constraining eager loads.
1744-
17451742
<a name="constraining-eager-loading-of-morph-to-relationships"></a>
17461743
#### Constraining Eager Loading of `morphTo` Relationships
17471744

0 commit comments

Comments
 (0)