<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:51 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>[CSHARP-798] Support Aggregate Command Returning a Cursor</title>
                <link>https://jira.mongodb.org/browse/CSHARP-798</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Server 2.6 can optionally return a cursor and the driver needs to support that.&lt;/p&gt;</description>
                <environment></environment>
        <key id="85535">CSHARP-798</key>
            <summary>Support Aggregate Command Returning a Cursor</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="craig.wilson@mongodb.com">Craig Wilson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Aug 2013 14:12:36 +0000</created>
                <updated>Fri, 27 May 2022 01:36:05 +0000</updated>
                            <resolved>Thu, 5 Sep 2013 21:17:10 +0000</resolved>
                                                    <fixVersion>1.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="418882" author="auto" created="Thu, 5 Sep 2013 21:15:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Removing support for FirstBatchSize in response to code review comments. Leaving BatchSize nullable to avoid using a magic number.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/397cfe04e49f81764211d9843055c44bbc52a612&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/397cfe04e49f81764211d9843055c44bbc52a612&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418881" author="auto" created="Thu, 5 Sep 2013 21:15:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Give the user control over both the FirstBatchSize and the subsequent BatchSize when using AggregateQuery with a cursor. A FirstBatchSize of 0 instructs the server to just set up the cursor and return immediately with an empty first batch. FirstBatchSize defaults to BatchSize if not specified. If neither is specified the server picks the batch size.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/0eede69d71f80020d4d0e4a3d3a114ff50bf64a3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/0eede69d71f80020d4d0e4a3d3a114ff50bf64a3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418880" author="auto" created="Thu, 5 Sep 2013 21:15:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Execute AggregateQuery immediately if $out is used. Remove FirstBatch property from AggregateResult and overload ResultDocuments to also hold the first batch when using a cursor. Add new RunAggregateCommand helper method to MongoCollection and remove overload of Aggregate command that takes an options parameter (so if you want to use a cursor, which requires options, you have to use the new AggregateQuery method).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e1d80a7c314760dff89f1122c9ff216577907d11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e1d80a7c314760dff89f1122c9ff216577907d11&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418879" author="auto" created="Thu, 5 Sep 2013 21:15:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;. Initial implementation finished and all unit tests pass, including new unit tests for aggregate with a cursor and with $out.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/6e9b0e8660460dac4bb036c9276431372a47a47c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/6e9b0e8660460dac4bb036c9276431372a47a47c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418878" author="auto" created="Thu, 5 Sep 2013 21:15:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Added new AggregateQuery method that behaves more like a query and delays sending the command to the server until the results are enumerated.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/18104252100e00002095395a1e6c255431bfd859&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/18104252100e00002095395a1e6c255431bfd859&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418876" author="auto" created="Thu, 5 Sep 2013 21:15:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Added AllowDiskUsage to MongoAggregateOptions.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/ee7409f7f1753a46fea13976810852c7b3614768&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/ee7409f7f1753a46fea13976810852c7b3614768&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="418875" author="auto" created="Thu, 5 Sep 2013 21:15:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-798&quot; title=&quot;Support Aggregate Command Returning a Cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-798&quot;&gt;&lt;del&gt;CSHARP-798&lt;/del&gt;&lt;/a&gt;: Prototype public API of supporting Aggregate command with cursors.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/8b8dafe281c97f09cfcfb93019062d06c43a7e93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/8b8dafe281c97f09cfcfb93019062d06c43a7e93&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="39610">SERVER-5932</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="80148">DRIVERS-98</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hrs6fb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>78268</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>2.5</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>