From f847be98f53c1a64745ca65f4975e589ddbe02ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 13 Apr 2019 13:48:12 +0200 Subject: [PATCH] Associations: aggregates are available on HasManyThrough, too --- Documentation/AssociationsBasics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index f1b2a0be7..c01e36b21 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -1550,7 +1550,7 @@ You can also perform custom navigation in the tree by using *row scopes*. See [R ## Association Aggregates -It is possible to fetch aggregated values from a **[HasMany]** association: +It is possible to fetch aggregated values from **[HasMany]** and **[HasManyThrough]** associations: Counting associated records, fetching the minimum, maximum, average value of an associated record column, computing the sum of an associated record column, these are all aggregation operations.