TAKE LAST

This function returns the last element of the input stream.

For example, you can pick the youngest person among a stream of persons.

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.
sorters Sorts elements before taking the last.