Aggregation
Datastore offers data aggregation features to help facilitate report type use case requests.
Aggregation involves multiple document values of a single property being provided to an aggregation function to combine.
As an example, it can count the student documents in my collection.
In this example the function is count
.
Aggregation can be combined with filter parameters to enhance the reports.
As an example, it can count all the student documents with a GPA greater than 3
.
Finally, Datastore offers the ability to group aggregate calculations by distinct property values. As an example, it can count all the student documents with a GPA greater than 3 and break the count down by the student type property which represents local or international students.
Read the Aggregation documentation in the Features section for more information.