infix fun <T> KProperty<T>.push(expression: T): BsonField
(source)
Gets a field name for a $group operation representing an array of all values that results from applying an expression to each document in a group of documents that share the same group by key.
Parameters
Return
the field
Mongodb
.driver.manual reference/operator/aggregation/push/ $push