<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:08 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>[GODRIVER-1312] how to support export mongodb dump or export function in mongo-go-driver</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1312</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description></description>
                <environment></environment>
        <key id="928644">GODRIVER-1312</key>
            <summary>how to support export mongodb dump or export function in mongo-go-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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jackylee">orange.jackylee</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Sep 2019 02:55:33 +0000</created>
                <updated>Mon, 23 Sep 2019 20:14:55 +0000</updated>
                            <resolved>Mon, 23 Sep 2019 20:14:55 +0000</resolved>
                                    <version>1.2.0</version>
                                                    <component>API</component>
                    <component>CRUD</component>
                    <component>Internal</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2424896" author="jackylee" created="Thu, 19 Sep 2019 06:24:56 +0000"  >&lt;p&gt;when go build, it failed.&lt;/p&gt;</comment>
                            <comment id="2424894" author="jackylee" created="Thu, 19 Sep 2019 06:21:21 +0000"  >&lt;ol&gt;
	&lt;li&gt;github.com/mongodb/mongo-tools-common/db&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/buffered_bulk.go:83:101: cannot use &quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.InsertMany().SetOrdered(!bb.unordered) (type *&quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.InsertManyOptions) as type *&quot;go.mongodb.org/mongo-driver/mongo/options&quot;.InsertManyOptions in argument to bb.collection.InsertMany&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/command.go:126:34: cannot use &quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.RunCmd().SetReadPreference(&quot;github.com/mongodb/mongo-go-driver/mongo/readpref&quot;.Nearest()) (type *&quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.RunCmdOptions) as type *&quot;go.mongodb.org/mongo-driver/mongo/options&quot;.RunCmdOptions in argument to session.Database(&quot;admin&quot;).RunCommand&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/command.go:126:51: cannot use &quot;github.com/mongodb/mongo-go-driver/mongo/readpref&quot;.Nearest() (type *&quot;github.com/mongodb/mongo-go-driver/mongo/readpref&quot;.ReadPref) as type *&quot;go.mongodb.org/mongo-driver/mongo/readpref&quot;.ReadPref in argument to &quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.RunCmd().SetReadPreference&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/command.go:255:60: cannot use opts (type *&quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.FindOneOptions) as type *&quot;go.mongodb.org/mongo-driver/mongo/options&quot;.FindOneOptions in argument to session.Database(db).Collection(collection).FindOne&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/db.go:177:11: clientopt.SetSingle undefined (type *&quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.ClientOptions has no field or method SetSingle)&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/db.go:179:35: cannot use opts.ReadPreference (type *&quot;github.com/mongodb/mongo-go-driver/mongo/readpref&quot;.ReadPref) as type *&quot;go.mongodb.org/mongo-driver/mongo/readpref&quot;.ReadPref in argument to clientopt.SetReadPreference&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/db.go:209:11: undefined: &quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.SSLOpt&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/db.go:222:12: clientopt.SetSSL undefined (type *&quot;github.com/mongodb/mongo-go-driver/mongo/options&quot;.ClientOptions has no field or method SetSSL)&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/db.go:234:9: undefined: mongo.NewClientWithOptions&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/namespaces.go:97:2: cannot use *mongo.Cursor value as type mongo.Cursor in return argument&lt;/p&gt;

&lt;p&gt;../../../../../pkg/mod/github.com/mongodb/mongo-tools-common@v0.0.0/db/namespaces.go:97:2: too many errors&lt;/p&gt;

&lt;p&gt;macbookpro:go_dirver fredlee$&lt;/p&gt;</comment>
                            <comment id="2421326" author="ryan.chipman" created="Mon, 16 Sep 2019 13:59:10 +0000"  >&lt;p&gt;the &lt;tt&gt;mongodump&lt;/tt&gt; and &lt;tt&gt;mongoexport&lt;/tt&gt; tools are open source (see the repository &lt;a href=&quot;https://github.com/mongodb/mongo-tools&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;). You should be able to use the tools functionality programmatically if you want.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="932562">TOOLS-2367</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|hvf6nj:</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>