<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:25 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-1700] Add dateOperator extensions</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1700</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;when using grop/project phase I&apos;d to have ability to use typed extension instead of passing bson document&lt;/p&gt;

&lt;p&gt;  var project =&lt;br/&gt;
                BsonDocument.Parse(&lt;br/&gt;
                    &quot;{Key:1, Timestamp:1, year:{$year:&apos;$Timestamp&apos;}, dayOfYear:{$dayOfYear:&apos;$Timestamp&apos;}}&quot;);&lt;br/&gt;
            var group = BsonDocument.Parse(&quot;{_id:&lt;/p&gt;
{year:&apos;$year&apos;, dayOfYear:&apos;$dayOfYear&apos;}
&lt;p&gt;, count:{$sum:1}}&quot;);&lt;br/&gt;
            var result = collection.Aggregate().Project(project).Group(group).ToList();&lt;/p&gt;

&lt;p&gt;in this case i will expect that project will look like this:&lt;/p&gt;

&lt;p&gt; .Project(i =&amp;gt; new &lt;/p&gt;
{ i.Key, dayOfYear = i.Timestamp.GetDayOfYear,  year = i.Timestamp.GetYear }
&lt;p&gt;):&lt;/p&gt;

</description>
                <environment></environment>
        <key id="299195">CSHARP-1700</key>
            <summary>Add dateOperator extensions</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="-1">Unassigned</assignee>
                                    <reporter username="profesor79">Greg</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Jul 2016 08:55:40 +0000</created>
                <updated>Thu, 7 Jul 2016 16:22:32 +0000</updated>
                            <resolved>Thu, 7 Jul 2016 16:22:32 +0000</resolved>
                                    <version>2.2.4</version>
                                                    <component>Feature Request</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1316992" author="craiggwilson" created="Thu, 7 Jul 2016 16:22:23 +0000"  >&lt;p&gt;We already support these. You can see the list of supported date operations here: &lt;a href=&quot;http://mongodb.github.io/mongo-csharp-driver/2.2/reference/driver/expressions/#date-expressions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-csharp-driver/2.2/reference/driver/expressions/#date-expressions&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I&apos;m going to close this, but if you find that what I&apos;ve pointed to isn&apos;t what you are asking, please re-open the ticket.&lt;/p&gt;

&lt;p&gt;Craig&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|hsn9hr:</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>