TAKE FIRST

This function returns the first element of the input stream.

For example, you can pick the oldest 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 first.