<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:29 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-533] Expose underlying C handles from C++ driver</title>
                <link>https://jira.mongodb.org/browse/CXX-533</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;In the new (C&amp;#43;&amp;#43;11) driver, there are features implemented in the C driver that aren&apos;t in the C&amp;#43;&amp;#43; driver. It would be useful for each C&amp;#43;&amp;#43; object that has an underlying mongoc driver object to expose that object so you can fall back to using the C driver functions without constructing a new client. An example would be gridfs, where the C driver has gridfs functions that require a mongoc_client_t.&lt;/p&gt;</description>
                <environment></environment>
        <key id="184578">CXX-533</key>
            <summary>Expose underlying C handles from C++ driver</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="tyler@10gen.com">Tyler Brock</assignee>
                                    <reporter username="jonathan.reams@mongodb.com">Jonathan Reams</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Feb 2015 15:01:02 +0000</created>
                <updated>Fri, 24 Apr 2015 17:32:26 +0000</updated>
                            <resolved>Thu, 19 Feb 2015 14:43:02 +0000</resolved>
                                                    <fixVersion>0.1.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="832633" author="xgen-internal-githook" created="Thu, 19 Feb 2015 14:21:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;TylerBrock&apos;, u&apos;name&apos;: u&apos;Tyler Brock&apos;, u&apos;email&apos;: u&apos;tyler.brock@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-533&quot; title=&quot;Expose underlying C handles from C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-533&quot;&gt;&lt;del&gt;CXX-533&lt;/del&gt;&lt;/a&gt; safely expose implementation to users&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/bf1624b675877c6fde682912773e415352cc268b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/bf1624b675877c6fde682912773e415352cc268b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="831621" author="acm" created="Wed, 18 Feb 2015 14:59:16 +0000"  >&lt;p&gt;Maybe, but I&apos;m not sure how much we would gain. I also think it should be possible for the implementation to decline to provide the underlying handle, in case it isn&apos;t built above the C driver.&lt;/p&gt;

&lt;p&gt;So, something like:&lt;/p&gt;

&lt;p&gt;stdx::optional&amp;lt;void*&amp;gt; Collection::implementation_handle() const;&lt;/p&gt;

</comment>
                            <comment id="830566" author="adam.midvidy" created="Tue, 17 Feb 2015 15:18:25 +0000"  >&lt;p&gt;could we provide an alias type like std::thread::native_handle ?&lt;/p&gt;</comment>
                            <comment id="830556" author="acm" created="Tue, 17 Feb 2015 15:04:56 +0000"  >&lt;p&gt;We should probably return these as raw void*&apos;s and require the user to cast them, so that we don&apos;t leak any C driver interfaces. That said, I agree this is a useful feature, and fairly easy to implement.&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-123</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrfntj:</customfieldvalue>

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