<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:27 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-1007] Querying UUID field </title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1007</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Hi,&#160;&lt;/p&gt;

&lt;p&gt;I&apos;m using the latest version of the Mongo Go driver, but I can&apos;t seems to find a way to query a UUID field (that I have as a string). For instance:&lt;/p&gt;

&lt;p&gt;`stringUUID &#160;:= &quot;d392596d-9a86-4e55-8a47-a4b831825906&quot;`&lt;/p&gt;

&lt;p&gt;`&lt;/p&gt;

&lt;p&gt;filter := M&lt;/p&gt;
{
 &quot;field&quot;:&#160;stringUUID,
}

&lt;p&gt;`&lt;/p&gt;

&lt;p&gt;I&apos;ve tried to use the `primitive.Binary` struct it the required `subType` and string as `[]byte`. However, it doesn&apos;t seems to work.&#160;&lt;/p&gt;

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

&lt;p&gt;In the MongoDB, I&apos;ve it as ` &quot;field&quot; : UUID(&quot;d392596d-9a86-4e55-8a47-a4b831825906&quot;)`&lt;/p&gt;

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

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

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

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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="747333">GODRIVER-1007</key>
            <summary>Querying UUID field </summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="syd">Syed Gillani</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Apr 2019 14:57:39 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:25 +0000</updated>
                            <resolved>Thu, 20 Jun 2019 20:05:34 +0000</resolved>
                                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2291975" author="jeff.yemin" created="Thu, 20 Jun 2019 20:05:34 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=syd&quot; class=&quot;user-hover&quot; rel=&quot;syd&quot;&gt;syd&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Since we haven&apos;t heard back from you I&apos;m going to close this issue, but if you get back to it sometime in the future happy to re-open.&lt;/p&gt;</comment>
                            <comment id="2263958" author="jeff.yemin" created="Wed, 29 May 2019 16:49:11 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=syd&quot; class=&quot;user-hover&quot; rel=&quot;syd&quot;&gt;syd&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Sorry to take so long to get back to you.  Before we proceed, can you let me know how the UUIDs made it into the database in the first place.  As in, which driver (or shell) did you use to insert the documents?&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|huo4zr:</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>