The TO LIST aggregation function returns a single list of all documents from the input stream.
For example, you can aggregate a stream of persons to a single list of full names.
Set
person.fullname