Skip to content

code blocks are mis-placed #1765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

aksaharan
Copy link
Contributor

The code blocks do not align with what is being described above them. Re-arranging them in proper places now.

The code blocks do not align with what is being described above them. Re-arranging them in proper places now.
@kay-kim
Copy link
Contributor

kay-kim commented May 7, 2014

Thank you so much for your contribution. We appreciate the time you took to make the changes; however, the code blocks are correct as is. In the projection document, specifying : 0 suppresses that field in the results whereas specifying : 1 includes the field in the results.

So, the projection document { item: 1, _id: 0 } means to return the item field in the results but do not include the _id field, and thus is covered by the index mentioned.

The projection document { item: 1 } means to return the item field and the _id field (_id field always returns in the result unless you explicitly include _id: 0 in the projection document).

Hope this explanation helps. And thanks again for your time and efforts.

Regards,

Kay Kim

@kay-kim kay-kim closed this May 7, 2014
mongo-cr-bot pushed a commit that referenced this pull request Sep 2, 2022
* DOCSP-24882 set window fields and transaction (#1734)

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

* DOCSP-24882-setWindowFields-and-transaction

Co-authored-by: jason-price-mongodb <[email protected]>

* DOCSP-24882-setWindowFields-update

* DOCS-15590 refineshardkey updates (#1746)

* DOCS-15590-refineshardkey-updates

* DOCS-15590-refineshardkey-updates

* DOCS-15590-refineshardkey-updates

Co-authored-by: jason-price-mongodb <[email protected]>

Co-authored-by: jason-price-mongodb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants