<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:29 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>[CDRIVER-106] couple of typos in C Driver documentation</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-106</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>
&lt;p&gt;Documentation update request (C Driver Tutorial)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://api.mongodb.org/c/current/tutorial.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/c/current/tutorial.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The example code under the heading &quot;Simple Queries&quot;&lt;br/&gt;
subheading &quot;Let&apos;s now write a function which prints out the name of all persons whose age is 24&quot;&lt;/p&gt;



&lt;p&gt;mongo_cursor_init( cursor, conn, &quot;tutorial.persons&quot; );&lt;br/&gt;
  mongo_cursor_set_query( cursor, query )&lt;/p&gt;

&lt;p&gt;  while( mongo_cursor_next( cursor ) == MONGO_OK ) {&lt;br/&gt;
    bson_iterator iterator&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;;&lt;br/&gt;
    if ( bson_find( iterator, mongo_cursor_bson( cursor ), &quot;name&quot; )) &lt;/p&gt;
{
        printf( &quot;name: %s\n&quot;, bson_iterator_string( it ) );
    }
&lt;p&gt;  }&lt;/p&gt;



&lt;p&gt;should be&lt;/p&gt;



&lt;p&gt;mongo_cursor_init( cursor, conn, &quot;tutorial.persons&quot; );&lt;br/&gt;
  mongo_cursor_set_query( cursor, query );&lt;/p&gt;

&lt;p&gt;  while( mongo_cursor_next( cursor ) == MONGO_OK ) {&lt;br/&gt;
    bson_iterator iterator&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;;&lt;br/&gt;
    if ( bson_find( iterator, mongo_cursor_bson( cursor ), &quot;name&quot; )) &lt;/p&gt;
{
        printf( &quot;name: %s\n&quot;, bson_iterator_string( iterator ) );
    }
&lt;p&gt;  }&lt;/p&gt;



&lt;p&gt;(note: missing semicolon after mongo_cursor_set_query, also &quot;it&quot; becomes &quot;iterator&quot;)&lt;/p&gt;

</description>
                <environment>documentation change</environment>
        <key id="25388">CDRIVER-106</key>
            <summary>couple of typos in C Driver documentation</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="kbanker">Kyle Banker</assignee>
                                    <reporter username="waitman">Waitman Gobble</reporter>
                        <labels>
                            <label>documentation</label>
                    </labels>
                <created>Wed, 23 Nov 2011 14:45:13 +0000</created>
                <updated>Wed, 19 Oct 2016 22:33:19 +0000</updated>
                            <resolved>Mon, 26 Mar 2012 21:20:36 +0000</resolved>
                                    <version>0.4</version>
                                    <fixVersion>0.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="103770" author="auto" created="Mon, 26 Mar 2012 21:20:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;banker&apos;, u&apos;name&apos;: u&apos;Kyle Banker&apos;, u&apos;email&apos;: u&apos;kylebanker@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-106&quot; title=&quot;couple of typos in C Driver documentation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-106&quot;&gt;&lt;del&gt;CDRIVER-106&lt;/del&gt;&lt;/a&gt; minor doc fixes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2bb9278d8ab44a2dcd458b60789281f4b980e8b8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/2bb9278d8ab44a2dcd458b60789281f4b980e8b8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh6mf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13872</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>