AddToSet constructor
AddToSet(
- dynamic expr
Creates $addToSet
operator expression
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key. Order of the elements in the output array is unspecified.
Implementation
AddToSet(expr) : super('addToSet', expr);