TO LIST

This 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.

See Also
Operators
Expression Language
Defining and Managing Data Queries
Parameter Description
filterExpression An Apollo expression to keep some elements only. It is useful to process the aggregation on a subpart of your input stream.
expression An Apollo expression to extract the subelements to put in the list. For example, person.fullname.