← BYTES
MongoDB·Starter·Ref: 28.1.18

What does the $project stage in an aggregation pipeline do?

Have a question about this video? Mention reference 28.1.18 when you contact us.

a.Deletes a collection
b.Creates an index
c.Reshapes documents by including, excluding, or computing fields
d.Starts a transaction
$project reshapes each document passing through the pipeline: it can include/exclude specific fields, rename them, or compute new fields from existing ones.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES28118#MongoDB