Apply projection

https://docs.mongodb.com/manual/reference/operator/aggregation/project/#pipe._S_project

Passes along the documents with only the specified fields to the next stage in the pipeline.

{ $project: { <specifications> } }

The specified fields can be existing fields from the input documents or newly computed fields.

Property definitions

mongodb $ MongoPipeline :: project
	# Apply projection
	#
	# https://docs.mongodb.com/manual/reference/operator/aggregation/project/#pipe._S_project
	#
	# Passes along the documents with only the specified fields to the next stage
	# in the pipeline.
	#
	# ~~~json
	# { $project: { <specifications> } }
	# ~~~
	#
	# The specified fields can be existing fields from the input documents or
	# newly computed fields.
	fun project(projection: JsonObject): MongoPipeline do return add_stage("project", projection)
lib/mongodb/queries.nit:393,2--406,94