Pipeline implementing the $project stage.
$project
The context used to generate this pipeline.
Specifies a list of fields which should be kept in the document.
Changes the type of the returned document, with no type-safety.
JSON representation of this pipeline.
Creates a new pipeline that expands on the current one by adding stage.
Writes the entire pipeline into writer.