Gathering Statistics: Aggregating

Learn about the aggregate function and how to use it in properties.

We'll cover the following

Aggregate

The aggregate function is similar to the collect function with one simple exception. The aggregate function can take a list of categories to store. Let’s look at the function in action.

Code

Let’s start off with a basic property that uses the function. Take a look at it in the code below:

Get hands-on with 1400+ tech skills courses.