From 36f9313aed059a83d2b8d386b2b26a5006b304d9 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 18 Oct 2023 09:34:56 +1300 Subject: [PATCH] DOC Update eagerloading docs to explicitly say no relation filter (#376) --- en/02_Developer_Guides/00_Model/02_Relations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/02_Developer_Guides/00_Model/02_Relations.md b/en/02_Developer_Guides/00_Model/02_Relations.md index 78f28f95e..2cd8e2bdd 100644 --- a/en/02_Developer_Guides/00_Model/02_Relations.md +++ b/en/02_Developer_Guides/00_Model/02_Relations.md @@ -709,7 +709,7 @@ Eager loading is only intended to be used in read-only scenarios such as when ou Note that filtering or sorting an `EagerLoadedList` will be done in PHP rather than as part of the database query, since we have already loaded all its relevant data into memory. -Note also that `EagerLoadedList` can't currently filter or sort by fields on relations using dot syntax (e.g. `sort('MySubRelation.Title')` won't work). +Note also that `EagerLoadedList` can't filter or sort by fields on relations using dot notation (e.g. `sort('MySubRelation.Title')` won't work). [/notice] ## Cascading deletions