first
Gets a field name for a $group operation representing the value of the given expression when applied to the first member of the group.
Return
the field @mongodb.driver.manual reference/operator/aggregation/first/ $first
Parameters
property
The data class property
expression
the expression