There is no usage guidance for this tag … yet!

Usage guidance, also known as a tag wiki excerpt, is a short blurb that describes when and why a tag should be used on this site specifically.

When a SOQL query contains an aggregate function, the results are a set of aggregated data instead of an array of records for an object. Therefore, the records field returns an array of AggregateResult records.