<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:48:58 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-4829] Comment on: &quot;manual/tutorial/project-fields-from-query-results.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-4829</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Was wondering about how to limit fields from a subdocument. Turns out, I can specify the field using dot notation, e.g.&lt;/p&gt;

&lt;p&gt;db.users.find(&lt;/p&gt;
{name:&quot;Jim&quot;}
&lt;p&gt;,{_id:0,   subdoc.field:0  })&lt;/p&gt;

&lt;p&gt;but I had to search StackOverflow and experiment to find that functionality, rather than finding it in the docs. Thought you might like to know that someone was looking here for that, and they didn&apos;t find it.&lt;/p&gt;
</description>
                <environment>using the ruby mongo driver on yosemite 10.10.2&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/project-fields-from-query-results/&quot;&gt;http://docs.mongodb.org/manual/tutorial/project-fields-from-query-results/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://docs.mongodb.org/manual/search/?query=projection&quot;&gt;http://docs.mongodb.org/manual/search/?query=projection&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 2560 x 1440&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: tutorial/project-fields-from-query-results&lt;br/&gt;
</environment>
        <key id="184523">DOCS-4829</key>
            <summary>Comment on: &quot;manual/tutorial/project-fields-from-query-results.txt&quot;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="ravind.kumar">Ravind Kumar</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Tue, 17 Feb 2015 04:09:31 +0000</created>
                <updated>Mon, 30 Oct 2023 21:48:15 +0000</updated>
                            <resolved>Wed, 7 Oct 2015 18:16:14 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1054198" author="xgen-internal-githook" created="Wed, 7 Oct 2015 18:19:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rkumar-mongo&apos;, u&apos;name&apos;: u&apos;ravind&apos;, u&apos;email&apos;: u&apos;ravind.kumar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; Added &apos;Suppress Specific Fields in Embedded Documents&apos; section with examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - changes based on feedback from codereivew&lt;/p&gt;

&lt;p&gt;fixes to whitespace in code examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - Changes per CR22320001, ready for pull&lt;/p&gt;

&lt;p&gt;Signed-off-by: kay &amp;lt;kay.kim@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1054197" author="xgen-internal-githook" created="Wed, 7 Oct 2015 18:19:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rkumar-mongo&apos;, u&apos;name&apos;: u&apos;ravind&apos;, u&apos;email&apos;: u&apos;ravind.kumar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; Added &apos;Suppress Specific Fields in Embedded Documents&apos; section with examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - changes based on feedback from codereivew&lt;/p&gt;

&lt;p&gt;fixes to whitespace in code examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - Changes per CR22320001, ready for pull&lt;/p&gt;

&lt;p&gt;Signed-off-by: kay &amp;lt;kay.kim@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1054196" author="xgen-internal-githook" created="Wed, 7 Oct 2015 18:19:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rkumar-mongo&apos;, u&apos;name&apos;: u&apos;ravind&apos;, u&apos;email&apos;: u&apos;ravind.kumar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; Added &apos;Suppress Specific Fields in Embedded Documents&apos; section with examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - changes based on feedback from codereivew&lt;/p&gt;

&lt;p&gt;fixes to whitespace in code examples&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4829&quot; title=&quot;Comment on: &amp;quot;manual/tutorial/project-fields-from-query-results.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4829&quot;&gt;&lt;del&gt;DOCS-4829&lt;/del&gt;&lt;/a&gt; - Changes per CR22320001, ready for pull&lt;/p&gt;

&lt;p&gt;Signed-off-by: kay &amp;lt;kay.kim@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/aef7b3997033cdc379037cfbe43bbefc81db1cef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1054190" author="ravind.kumar" created="Wed, 7 Oct 2015 18:16:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs/pull/2389&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/pull/2389&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 7 Oct 2015 18:16:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 19 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 19 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrqjcf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs6cd3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>162272</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="714">Docs Current Sprint (714)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz03b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>