Push constructor

Push(
  1. dynamic expr
)

Creates $push operator expression

Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.

Implementation

Push(expr) : super('push', expr);