code blocks are mis-placed#1765
Closed
aksaharan wants to merge 1 commit into
Closed
Conversation
The code blocks do not align with what is being described above them. Re-arranging them in proper places now.
Contributor
|
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 |
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 <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com> * 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 <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com> Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The code blocks do not align with what is being described above them. Re-arranging them in proper places now.