Promotes a specified document to the top level and replaces all other fields.
The operation replaces all existing fields in the input document, including the _id field.
https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
any2stringadd[(AggregationFramework.this)#ReplaceRoot] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
ArrowAssoc[(AggregationFramework.this)#ReplaceRoot] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
Ensuring[(AggregationFramework.this)#ReplaceRoot] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
Ensuring[(AggregationFramework.this)#ReplaceRoot] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
Ensuring[(AggregationFramework.this)#ReplaceRoot] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
Ensuring[(AggregationFramework.this)#ReplaceRoot] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
StringFormat[(AggregationFramework.this)#ReplaceRoot] performed by method StringFormat in scala.Predef.
This member is added by an implicit conversion from (AggregationFramework.this)#ReplaceRoot to
ArrowAssoc[(AggregationFramework.this)#ReplaceRoot] performed by method ArrowAssoc in scala.Predef.
Promotes a specified document to the top level and replaces all other fields. The operation replaces all existing fields in the input document, including the _id field. https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot