First constructor

First(
  1. dynamic expr
)

Creates $first operator expression

Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key. Only meaningful when documents are in a defined order.

Implementation

First(expr) : super('first', expr);