<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:43:56 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-2651] Suggestion for /manual/tutorial/generate-test-data/</title>
                <link>https://jira.mongodb.org/browse/DOCS-2651</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;I&apos;m of the opinion that JS code examples should always use trailing semi-colons to be explicit. Additionally, using braces around the body of loops (e.g. &lt;tt&gt;for&lt;/tt&gt;, &lt;tt&gt;while&lt;/tt&gt;) helps.&lt;/p&gt;

&lt;p&gt;Third numeric bullet point in the &quot;Insert Multiple Documents Using a For Loop&quot; is numbered &quot;1&quot; instead of &quot;3&quot;.&lt;/p&gt;

&lt;p&gt;The entry mentions using &lt;tt&gt;it&lt;/tt&gt; to print more results after the first 20. I didn&apos;t find additional reference to the &lt;tt&gt;it&lt;/tt&gt; command beyond &lt;a href=&quot;http://docs.mongodb.org/manual/reference/method/db.collection.find/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;db.collection.find()&lt;/a&gt;. I would have expected some coverage of it on &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/iterate-a-cursor/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Iterate a Cursor in the mongo Shell&lt;/a&gt;. If we have a full documentation entry on &lt;tt&gt;it&lt;/tt&gt;, it would be good to link to that. If the page doesn&apos;t exist, perhaps we should have such a page, and also discuss how to customize the default number of results printed for each iteration, which I believe is a global shell variable.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Store the function in your .mongorc.js file. The mongo shell loads the function for you every time you start a session.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I think this should clarify that the mongo shell loads/parses the &lt;tt&gt;.mongorc.js&lt;/tt&gt; file on startup, so the function will be available in future sessions. Saying that the &quot;shell loads the function&quot; seems to bypass the fact that it&apos;s really loading everything in the rc file, which could be helpful for newer users.&lt;/p&gt;</description>
                <environment></environment>
        <key id="109362">DOCS-2651</key>
            <summary>Suggestion for /manual/tutorial/generate-test-data/</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="tim.slavin">Tim Slavin</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>audit-2014</label>
                    </labels>
                <created>Mon, 3 Feb 2014 21:04:59 +0000</created>
                <updated>Mon, 16 Mar 2015 23:55:56 +0000</updated>
                            <resolved>Tue, 16 Sep 2014 19:18:50 +0000</resolved>
                                                    <fixVersion>v1.3.11</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="720323" author="xgen-internal-githook" created="Tue, 16 Sep 2014 21:07:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;TimSlavinMongoDB&apos;, u&apos;name&apos;: u&apos;Tim Slavin (MongoDB)&apos;, u&apos;email&apos;: u&apos;tim.slavin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2651&quot; title=&quot;Suggestion for /manual/tutorial/generate-test-data/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2651&quot;&gt;&lt;del&gt;DOCS-2651&lt;/del&gt;&lt;/a&gt;: Suggestion for /manual/tutorial/generate-test-data/&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/5ccffa819c519ef9b5c2201670c8a6dec8286e20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/5ccffa819c519ef9b5c2201670c8a6dec8286e20&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="720322" author="xgen-internal-githook" created="Tue, 16 Sep 2014 21:07:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;TimSlavinMongoDB&apos;, u&apos;name&apos;: u&apos;Tim Slavin (MongoDB)&apos;, u&apos;email&apos;: u&apos;tim.slavin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2651&quot; title=&quot;Suggestion for /manual/tutorial/generate-test-data/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2651&quot;&gt;&lt;del&gt;DOCS-2651&lt;/del&gt;&lt;/a&gt;: Suggestion for /manual/tutorial/generate-test-data/&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/dc6820351eb98206226258c6f1e26c64515af385&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/dc6820351eb98206226258c6f1e26c64515af385&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="492568" author="jmikola@gmail.com" created="Mon, 3 Feb 2014 21:08:51 +0000"  >&lt;p&gt;A recent dev mailing list post from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=buzz.moschetti&quot; class=&quot;user-hover&quot; rel=&quot;buzz.moschetti&quot;&gt;buzz.moschetti&lt;/a&gt; mentioned his new library, &lt;a href=&quot;https://github.com/buzzm/ipsum&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ipsum&lt;/a&gt;, for generating random BSON data to test MongoDB apps. Some related content is &lt;a href=&quot;http://json-schema.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;json-schema.org&lt;/a&gt; and our cookbook entry for &lt;a href=&quot;http://cookbook.mongodb.org/patterns/random-attribute/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;random attributes&lt;/a&gt;. This could be relevant as further reading for users looking to create test data.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Aug 2014 15:36:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 22 weeks, 1 day 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 22 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jmikola@mongodb.com</customfieldvalue>
            <customfieldvalue>tim.slavin</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrdpr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>100108</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|hryn9z:</customfieldvalue>

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