<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58:38 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>[CXX-249] better remove api on GridFS and GridFile </title>
                <link>https://jira.mongodb.org/browse/CXX-249</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The current api to find files in GridFS is great: one easy by filename, and one extensive by BSONObj query.&lt;br/&gt;
However, to remove files we only have &quot;removeFile()&quot; by filename.&lt;/p&gt;

&lt;p&gt;It would be a great (and easy to implement) addition to have a BSONObj query api for remove (optionally with a skip and limit too, but it&apos;s less useful, and should also be added to the find method).&lt;/p&gt;

&lt;p&gt;Also, there is no remove() method on the GridFile class, this could be really useful too.&lt;/p&gt;


&lt;p&gt;Currently when multiple files have the same filename we have to manually delete the documents in fs.files and fs.chunks collections, like it&apos;s done in GridFS::removeFile().&lt;/p&gt;</description>
                <environment></environment>
        <key id="105487">CXX-249</key>
            <summary>better remove api on GridFS and GridFile </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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="trsystran">Thomas Riccardi</reporter>
                        <labels>
                            <label>cxxmove</label>
                            <label>gridfs</label>
                            <label>legacy-cxx</label>
                            <label>query</label>
                            <label>remove</label>
                    </labels>
                <created>Fri, 10 Jan 2014 14:12:04 +0000</created>
                <updated>Wed, 7 Jan 2015 18:00:43 +0000</updated>
                            <resolved>Wed, 7 Jan 2015 16:36:33 +0000</resolved>
                                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="799246" author="acm" created="Wed, 7 Jan 2015 18:00:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=riccardi%40systran.fr&quot; class=&quot;user-hover&quot; rel=&quot;riccardi@systran.fr&quot;&gt;riccardi@systran.fr&lt;/a&gt; There is ongoing work around designing an improved GridFS API for drivers, which would be implemented only for the non-legacy driver C++ driver, since we are not planning major changes to the legacy API.&lt;/p&gt;

&lt;p&gt;A time-frame has not yet been established.&lt;/p&gt;</comment>
                            <comment id="799224" author="trsystran" created="Wed, 7 Jan 2015 17:43:50 +0000"  >&lt;p&gt;Is it planned in the non-legacy driver? With which time-frame for a release?&lt;/p&gt;</comment>
                            <comment id="799086" author="adam.midvidy" created="Wed, 7 Jan 2015 16:36:33 +0000"  >&lt;p&gt;At this time we do not plan significant changes to the API of the legacy driver. &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|hrftjz:</customfieldvalue>

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