From db8753a8d18efaeffe067f0d20956a777db9c09c Mon Sep 17 00:00:00 2001 From: Meg528 <71841959+Meg528@users.noreply.github.com> Date: Wed, 12 Feb 2025 11:27:01 -0700 Subject: [PATCH] Update 3-project.mdx --- docs/30-simple-queries/3-project.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/30-simple-queries/3-project.mdx b/docs/30-simple-queries/3-project.mdx index e00d8e3..d7ffe4e 100644 --- a/docs/30-simple-queries/3-project.mdx +++ b/docs/30-simple-queries/3-project.mdx @@ -85,8 +85,8 @@ db.books.aggregate([ -- 1 means "show that field.". Once you started an inclusion projection you can't exclude other fields (you just keep adding the fields you want to see) -- 0 means "hide that field.". Once you started an exclusion projection you can't include other fields (you just keep adding the fields you don't want to see) +- 1 means, "Show that field." Once you start an inclusion projection, you can't exclude other fields. You just keep adding the fields you want to see. +- 0 means, "Hide that field." Once you start an exclusion projection, you can't include other fields. You just keep adding the fields you don't want to see. - The primary key `_id` field is shown by default. So we can exclude fields and show all fields except `attributes` using: