<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:43:34 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-2800] Using Pipelines in MongoQueryable</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2800</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have a aggregate pipeline that is built through various means, but then gives me an IAsyncCursor&amp;lt;T&amp;gt;.&lt;/p&gt;

&lt;p&gt;I would then like to make the results from the IQuerable to apply Odata / LINQ to this.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Whats the best way of achieving this:&lt;/p&gt;

&lt;p&gt;1) Create&#160;PipelineDefinition&amp;lt;T,U&amp;gt;&lt;/p&gt;

&lt;p&gt;2) Apply pipleline definition to Collection&lt;/p&gt;

&lt;p&gt;3) ** Now do AsQuereable on the result of the Agreate pipline apply, not to the collection.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</description>
                <environment></environment>
        <key id="974041">CSHARP-2800</key>
            <summary>Using Pipelines in MongoQueryable</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="rbugginsvia">Ross Buggins</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Oct 2019 12:00:24 +0000</created>
                <updated>Mon, 11 Nov 2019 15:50:38 +0000</updated>
                            <resolved>Mon, 11 Nov 2019 15:50:38 +0000</resolved>
                                                                    <component>Linq</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2492865" author="vincent.kam" created="Mon, 21 Oct 2019 16:15:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rbugginsvia&quot; class=&quot;user-hover&quot; rel=&quot;rbugginsvia&quot;&gt;rbugginsvia&lt;/a&gt;,&lt;br/&gt;
Thank you for filing a Jira ticket. If your intention is to create a pipeline definition by mixing LINQ and &lt;tt&gt;PipeLineDefinition&lt;/tt&gt;&#160;(resulting in a combined pipeline), then unfortunately we currently have no plans to support this feature. If your intention is to run a client-side LINQ query on the results of your aggregation pipeline, you could simply run &lt;tt&gt;.ToList()&lt;/tt&gt;&#160;on the &lt;tt&gt;IAsyncCursor&amp;lt;T&amp;gt;&lt;/tt&gt;&#160;&#160;that the aggregation pipeline returns, and then you should be able to query this list using LINQ.&lt;br/&gt;
&#160;&lt;br/&gt;
Kind regards,&lt;br/&gt;
Vincent&#160;&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|hvmp0v:</customfieldvalue>

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