Creates a pipeline targeted at a subcollection relative to the current document context.
The returned pipeline has no database instance and cannot be executed directly.
Convert it with toScalarExpression() or toArrayExpression() and embed it in another pipeline.
Creates a pipeline targeted at a subcollection relative to the current document context.
The returned pipeline has no database instance and cannot be executed directly. Convert it with
toScalarExpression()ortoArrayExpression()and embed it in another pipeline.