Read Documents: Part 6

Learn to use projection operators.

Projection operators

Projection means to select only the necessary data instead of the entire document. The projection operators are used to project the output of the query. The second argument of find functions is a projection document, and we can only define projection operators inside it.

Get hands-on with 1400+ tech skills courses.