<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:24 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>[JAVA-489] Add DBCursor.count(boolean foundOnly)</title>
                <link>https://jira.mongodb.org/browse/JAVA-489</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;At this moment it&apos;s impossible to get the number of results with skip and limit applied:&lt;br/&gt;
&lt;a href=&quot;http://api.mongodb.org/java/2.7.0/com/mongodb/DBCursor.html#count(&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/java/2.7.0/com/mongodb/DBCursor.html#count(&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;At the same time &lt;a href=&quot;http://www.php.net/manual/en/mongocursor.count.php&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PHP&lt;/a&gt; and &lt;a href=&quot;http://api.mongodb.org/python/2.0.1/api/pymongo/cursor.html#pymongo.cursor.Cursor.count&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Python&lt;/a&gt; have this ability.&lt;/p&gt;</description>
                <environment></environment>
        <key id="26572">JAVA-489</key>
            <summary>Add DBCursor.count(boolean foundOnly)</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="brendan">Brendan W. McAdams</assignee>
                                    <reporter username="uladzimir_mihura@epam.com">Uladzimir Mihura</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2011 09:11:07 +0000</created>
                <updated>Wed, 19 Oct 2016 23:45:25 +0000</updated>
                            <resolved>Wed, 19 Oct 2016 23:45:25 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="74075" author="uladzimir_mihura@epam.com" created="Fri, 16 Dec 2011 23:17:58 +0000"  >&lt;p&gt;Thank you Brendan.&lt;/p&gt;

&lt;p&gt;Looks strange that for different drivers we have different method names.&lt;/p&gt;

&lt;p&gt;-vova&lt;/p&gt;</comment>
                            <comment id="73143" author="brendan" created="Wed, 14 Dec 2011 20:05:02 +0000"  >&lt;p&gt;Count returns the total results of the cursor without skip/limit.&lt;/p&gt;

&lt;p&gt;Calling &lt;a href=&quot;http://api.mongodb.org/java/2.7.0/com/mongodb/DBCursor.html#size()&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;size()&lt;/a&gt; instead will account for skip/limit as documented in the same Javadoc page.&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|hrhbgn:</customfieldvalue>

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