From 99a7ad0afffe19863bc02256fe6197220956b15c Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Tue, 16 Jan 2024 01:27:10 +0100 Subject: [PATCH] Support eager loading with limit --- eloquent-relationships.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/eloquent-relationships.md b/eloquent-relationships.md index fb63b801882..088dc480544 100644 --- a/eloquent-relationships.md +++ b/eloquent-relationships.md @@ -1739,9 +1739,6 @@ In this example, Eloquent will only eager load posts where the post's `title` co $query->orderBy('created_at', 'desc'); }])->get(); -> [!WARNING] -> The `limit` and `take` query builder methods may not be used when constraining eager loads. - #### Constraining Eager Loading of `morphTo` Relationships