Skip to content

Glossary: MongoDB

$project

An aggregation stage that keeps only the fields you list, which can be renamed or computed with expressions. It works like a projection in `find`.

Where the book teaches it

Related terms

Projection$set (aggregation)Expression