mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Associations: aggregates are available on HasManyThrough, too
This commit is contained in:
1 parent
ff00dabcd1
commit
f847be98f5
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user