<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:47 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>[CDRIVER-1522] Add mongoc_collection_find_with_opts</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1522</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;New function takes options expressed as a free-form BSON document. Paves the way to a more flexible future API in which we can add support for arbitrary options without API expansions.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongoc_cursor_t *&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongoc_collection_find_with_opts (mongoc_collection_t       *collection,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                  const bson_t              *filter,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                  const bson_t              *opts,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                  const mongoc_read_prefs_t *read_prefs);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;The plan:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;mongoc_collection_find_with_opts translates to old-style _mongoc_cursor_new call with all the old parameters &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;readConcern is prohibited - specs say drivers MAY allow it per-operation, we only allow it to be set on client, db, and collection, so let&apos;s not support it per-operation right now, and enforce that choice &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Test mongoc_collection_find_with_opts for the same scenarios as mongoc_collection_find - ensure it handles all the same server-specific cases (wire version, OP_QUERY vs &quot;find&quot; command, mongos vs mongod) &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Add &quot;filter&quot; and &quot;opts&quot; to mongoc_cursor_t struct. mongoc_collection_find_with_opts copies its &quot;filter&quot; and &quot;opts&quot; parameters to these fields of the mongoc_cursor_t &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;When &quot;filter&quot; and &quot;opts&quot; are set, use them in the &quot;find&quot; command path instead of constructing from old fields in the mongoc_cursor_t &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;When &quot;filter&quot; and &quot;opts&quot; are set, rewrite the OP_QUERY path to use them instead of the old fields (the work done for Step 1 is reusable here) &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Deal with maxAwaitTimeMS and test it with mongoc_collection_find_with_opts &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;_mongoc_cursor_new drops its qflags, skip, limit, batch_size, fields, and read_concern parameters, gains an &quot;opts&quot; parameter. mongoc_collection_find_with_opts now calls it directly. mongoc_collection_find translates from its parameters to an &quot;opts&quot; document; e.g., batch_size=1 becomes {&lt;tt&gt;batchSize: 1&lt;/tt&gt;}. Other _mongoc_cursor_new callers are also updated to create &quot;opts&quot; documents. &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Test that unrecognized opts fields are sent to server unmodified &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Delete old fields from mongoc_cursor_t struct: fields, write_concern, flags, skip, limit, batch_size, max_await_time_ms &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Update docs and NEWS &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Update signature for consistency with mongoc_collection_count_with_opts: (collection, filter, opts, read_prefs) &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Make the common strings like &quot;awaitData&quot; into macros &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Call _mongoc_cursor_new_with opts internally from mongoc_client_command, mongoc_client_find_databases, mongoc_collection_find, mongoc_cursor_new_from_command_reply, mongoc_database_find_collections &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Test _mongoc_n_return some more, it&apos;s been a bug factory in the past &lt;b&gt;- done&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="314226">CDRIVER-1522</key>
            <summary>Add mongoc_collection_find_with_opts</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Sep 2016 14:13:33 +0000</created>
                <updated>Fri, 13 Jan 2017 22:30:16 +0000</updated>
                            <resolved>Wed, 21 Sep 2016 22:10:55 +0000</resolved>
                                    <version>1.4.0</version>
                                    <fixVersion>1.5.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1470610" author="xgen-internal-githook" created="Thu, 5 Jan 2017 22:36:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ooglek&apos;, u&apos;name&apos;: u&apos;Peter Beckman&apos;, u&apos;email&apos;: u&apos;beckman@angryox.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1970&quot; title=&quot;Conflicting symbols &amp;quot;MAX&amp;quot; and &amp;quot;MIN&amp;quot; on FreeBSD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1970&quot;&gt;&lt;del&gt;CDRIVER-1970&lt;/del&gt;&lt;/a&gt; update define constants for &quot;find&quot; opts to be unique&lt;br/&gt;
Branch: r1.5&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0b872895b58a249773aec5b4ace902db7d75d675&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0b872895b58a249773aec5b4ace902db7d75d675&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1470598" author="xgen-internal-githook" created="Thu, 5 Jan 2017 22:27:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ooglek&apos;, u&apos;name&apos;: u&apos;Peter Beckman&apos;, u&apos;email&apos;: u&apos;beckman@angryox.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1970&quot; title=&quot;Conflicting symbols &amp;quot;MAX&amp;quot; and &amp;quot;MIN&amp;quot; on FreeBSD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1970&quot;&gt;&lt;del&gt;CDRIVER-1970&lt;/del&gt;&lt;/a&gt; update define constants for &quot;find&quot; opts to be unique&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6dd99265127d45104bb722062e3f4058b2cf1f9a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6dd99265127d45104bb722062e3f4058b2cf1f9a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1442851" author="xgen-internal-githook" created="Sun, 27 Nov 2016 20:49:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; use llabs for int64 in mongoc-cursor.c&lt;br/&gt;
Branch: r1.5&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a13dc52c901cd34c999ac32b1a6379f7d11c02de&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a13dc52c901cd34c999ac32b1a6379f7d11c02de&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1436754" author="xgen-internal-githook" created="Thu, 17 Nov 2016 17:51:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; use llabs for int64 in mongoc-cursor.c&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/e49f133ae52c19c781f7fc037894c53d12e5217c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/e49f133ae52c19c781f7fc037894c53d12e5217c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1436199" author="bjori" created="Thu, 17 Nov 2016 01:33:03 +0000"  >&lt;p&gt;This commit introduced new warning:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930] src/mongoc/mongoc-cursor.c:1784:34: error: absolute value function &apos;labs&apos; given an argument of type &apos;int64_t&apos; (aka &apos;long long&apos;) but has parameter of type &apos;long&apos; which may cause truncation of value [-Werror,-Wabsolute-value]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930]    if (limit &amp;amp;&amp;amp; cursor-&amp;gt;count &amp;gt;= labs (limit)) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930]                                  ^&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930] src/mongoc/mongoc-cursor.c:1784:34: note: use function &apos;llabs&apos; instead&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930]    if (limit &amp;amp;&amp;amp; cursor-&amp;gt;count &amp;gt;= labs (limit)) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930]                                  ^~~~&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.930]                                  llabs&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2016/11/16 15:49:44.935] 1 error generated.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;See &lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_c_driver_clang38_i386_debug_compile_af74cb12269fc0e13b41f6b957c24f5a6d872a27_16_11_16_23_11_27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/mongo_c_driver_clang38_i386_debug_compile_af74cb12269fc0e13b41f6b957c24f5a6d872a27_16_11_16_23_11_27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1390414" author="xgen-internal-githook" created="Wed, 21 Sep 2016 22:10:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; thoroughly test cursor n_return&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9d16fad50f941d1480d530f56c3c54109242db19&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9d16fad50f941d1480d530f56c3c54109242db19&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1390413" author="xgen-internal-githook" created="Wed, 21 Sep 2016 22:10:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; use cursor_new_with_opts internally&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/70337e2c92d0da276b3728fec96521793c0bd8ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/70337e2c92d0da276b3728fec96521793c0bd8ef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1384025" author="xgen-internal-githook" created="Wed, 14 Sep 2016 02:52:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; don&apos;t send maxAwaitTimeMS to server&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a8357475f52eb8983a762f2e7ba180868830f4f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a8357475f52eb8983a762f2e7ba180868830f4f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1384024" author="xgen-internal-githook" created="Wed, 14 Sep 2016 02:52:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; define constants for &quot;find&quot; opts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b14c511dbb756ecb19f2decb59f59fbe7541d863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b14c511dbb756ecb19f2decb59f59fbe7541d863&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1384023" author="xgen-internal-githook" created="Wed, 14 Sep 2016 02:51:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; reorder cursor_new_with_opts signature&lt;/p&gt;

&lt;p&gt;Update signature for consistency with mongoc_collection_count_with_opts:&lt;br/&gt;
(collection, filter, opts, read_prefs)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c7153978ba52e026fe777355cae139c01ba61761&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c7153978ba52e026fe777355cae139c01ba61761&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383773" author="xgen-internal-githook" created="Tue, 13 Sep 2016 20:55:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; reorder find_with_opts signature&lt;/p&gt;

&lt;p&gt;Update signature for consistency with mongoc_collection_count_with_opts:&lt;br/&gt;
(collection, filter, opts, read_prefs)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/bc1163ad6b01bfb6a2f332d17acd96c823818622&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/bc1163ad6b01bfb6a2f332d17acd96c823818622&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383299" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; update find docs&lt;/p&gt;

&lt;p&gt;Two changes in particular. First, $-modifiers once again have the &quot;$&quot;&lt;br/&gt;
stripped for &quot;find&quot; commands, and added for OP_QUERY messages. I&apos;d&lt;br/&gt;
removed this behavior a few commits ago and restored it in 63a9d42e.&lt;/p&gt;

&lt;p&gt;Second, &quot;filter&quot; is no longer treated specially by the old &quot;find()&quot;, so&lt;br/&gt;
you don&apos;t have to do special things to query on a &quot;filter&quot; field.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/27cad5c3cf6b3df60e579e20939d76242a780e23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/27cad5c3cf6b3df60e579e20939d76242a780e23&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383298" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; test &amp;amp; fix query and flags edge cases&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0c12cc6e3f9e109ec118e143dbde688f58585dca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0c12cc6e3f9e109ec118e143dbde688f58585dca&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383297" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; fix slave_ok flag logic&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f42cb2694863b041cdc033101161b192493bd34c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f42cb2694863b041cdc033101161b192493bd34c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383296" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; remove mongoc_cursor_t&apos;s old fields&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f066f14e7c9862a843f54700c3f3f36fe11fba80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f066f14e7c9862a843f54700c3f3f36fe11fba80&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383295" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; always init cursor with &quot;opts&quot;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f6c6085076415150ad97fa4d0950ea991d420971&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f6c6085076415150ad97fa4d0950ea991d420971&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1383294" author="xgen-internal-githook" created="Tue, 13 Sep 2016 15:28:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; add topology-type getter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f4cfb6eb708913a1795090faecbe3196fb7b5c58&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f4cfb6eb708913a1795090faecbe3196fb7b5c58&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1382232" author="xgen-internal-githook" created="Mon, 12 Sep 2016 17:45:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; del example code that won&apos;t build yet&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit a497587867fe28dac954d0244ca6fb4bfc5e4a38.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2115e6dc3ef927a2cbe8c598471210100841335a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/2115e6dc3ef927a2cbe8c598471210100841335a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1381112" author="xgen-internal-githook" created="Sat, 10 Sep 2016 02:57:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; support maxAwaitTimeMS in &quot;opts&quot;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5358a712c95368eb86871a34567a9e8b8ae19694&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5358a712c95368eb86871a34567a9e8b8ae19694&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1381111" author="xgen-internal-githook" created="Sat, 10 Sep 2016 02:57:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; use filter and opts for OP_QUERY&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b81f1b196fb822d5c104ecc42b01ab6e2ceec56f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b81f1b196fb822d5c104ecc42b01ab6e2ceec56f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1381110" author="xgen-internal-githook" created="Sat, 10 Sep 2016 02:57:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; update find_with_opts tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1d7fd846c8963ed395da187c656357c3c451b487&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1d7fd846c8963ed395da187c656357c3c451b487&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1380770" author="xgen-internal-githook" created="Fri, 9 Sep 2016 18:38:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; update mongoc_collection_find_with_opts doc&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f1bd2107dd76022e06d97372718466aeb4fa2e62&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f1bd2107dd76022e06d97372718466aeb4fa2e62&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1380769" author="xgen-internal-githook" created="Fri, 9 Sep 2016 18:38:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; make cursor getters/setters use opts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/fe43fddd14ef87c289cc49ba513a3445ef8f3920&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/fe43fddd14ef87c289cc49ba513a3445ef8f3920&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1380768" author="xgen-internal-githook" created="Fri, 9 Sep 2016 18:38:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; use filter and opts for &quot;find&quot; cmd&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/867fe6c8d52060e5e32bffefacccdd0efe2b67fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/867fe6c8d52060e5e32bffefacccdd0efe2b67fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1379901" author="xgen-internal-githook" created="Thu, 8 Sep 2016 19:23:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; test unknown $-modifier with OP_QUERY&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/18cb2ba7a456b3320758c4a6b53a924b510ec691&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/18cb2ba7a456b3320758c4a6b53a924b510ec691&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1379900" author="xgen-internal-githook" created="Thu, 8 Sep 2016 19:23:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; add mongoc_collection_find_with_opts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/69ab5ff18a770568e15af0f6bbacbcd58f8891ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/69ab5ff18a770568e15af0f6bbacbcd58f8891ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1379899" author="xgen-internal-githook" created="Thu, 8 Sep 2016 19:23:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; check read prefs in _mongoc_cursor_new&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/bb9d1ccb2f42cafdd552ecac49257f51be7a8f3e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/bb9d1ccb2f42cafdd552ecac49257f51be7a8f3e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1378831" author="xgen-internal-githook" created="Wed, 7 Sep 2016 19:46:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: support negative nToReturn in mock server&lt;/p&gt;

&lt;p&gt;This will help test mongoc_collection_find_with_opts, &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/e15ff9fa69fb3c430c15e8b674a10f8af7aa7990&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/e15ff9fa69fb3c430c15e8b674a10f8af7aa7990&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1378669" author="xgen-internal-githook" created="Wed, 7 Sep 2016 18:04:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; del example code that won&apos;t build yet&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a497587867fe28dac954d0244ca6fb4bfc5e4a38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a497587867fe28dac954d0244ca6fb4bfc5e4a38&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1378565" author="xgen-internal-githook" created="Wed, 7 Sep 2016 17:06:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1522&quot; title=&quot;Add mongoc_collection_find_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1522&quot;&gt;&lt;del&gt;CDRIVER-1522&lt;/del&gt;&lt;/a&gt; declare fns taking flexible BSON opts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/37719eef990b0a191cdeff8cc161e585e6e52133&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/37719eef990b0a191cdeff8cc161e585e6e52133&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1377850" author="behackett" created="Tue, 6 Sep 2016 23:09:54 +0000"  >&lt;p&gt;It&apos;s not actually a whitelist. Keys not in _MODIFIERS pass through unchanged:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  File &quot;testcmd.py&quot;, line 8, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    list(c.foo.collection.find(modifiers={&apos;foo&apos;: True}))&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  File &quot;/home/behackett/work/mongo-python-driver/pymongo/cursor.py&quot;, line 1090, in next&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    if len(self.__data) or self._refresh():&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  File &quot;/home/behackett/work/mongo-python-driver/pymongo/cursor.py&quot;, line 1012, in _refresh&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    self.__read_concern))&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  File &quot;/home/behackett/work/mongo-python-driver/pymongo/cursor.py&quot;, line 905, in __send_message&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    helpers._check_command_response(doc[&apos;data&apos;][0])&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  File &quot;/home/behackett/work/mongo-python-driver/pymongo/helpers.py&quot;, line 210, in _check_command_response&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    raise OperationFailure(msg % errmsg, code, response)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;pymongo.errors.OperationFailure: Failed to parse: { find: &quot;collection&quot;, filter: {}, foo: true }. Unrecognized field &apos;foo&apos;.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="1377835" author="jmikola@gmail.com" created="Tue, 6 Sep 2016 22:48:31 +0000"  >&lt;p&gt;FWIW, PHPC&apos;s &lt;a href=&quot;http://php.net/manual/en/mongodb-driver-query.construct.php&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Query constructor&lt;/a&gt; takes a modifiers option for this purpose, and also because we didn&apos;t want to support some options like &lt;tt&gt;hint&lt;/tt&gt; in advance of them making it into the CRUD spec.&lt;/p&gt;

&lt;p&gt;If I&apos;m reading the PyMongo code correctly, the translation is only done for known modifiers. To be clear, is that (whitelist) what you&apos;re suggesting for libmongoc as well? Just want to be sure that &quot;foo&quot; above is a placeholder for a known modifier and not just anything &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1377830" author="behackett" created="Tue, 6 Sep 2016 22:39:39 +0000"  >&lt;p&gt;That looks like what we do in PyMongo.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-python-driver/blob/3.3.0/pymongo/message.py#L143-L181&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-python-driver/blob/3.3.0/pymongo/message.py#L143-L181&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1377819" author="jesse" created="Tue, 6 Sep 2016 22:27:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=behackett&quot; class=&quot;user-hover&quot; rel=&quot;behackett&quot;&gt;behackett&lt;/a&gt; what do you think about Jeremy&apos;s question above? If someone calls mongoc_collection_find_with_opts with opts {&lt;tt&gt;foo: true&lt;/tt&gt;} and we&apos;re talking to MongoDB 3.2+, do we send this command?:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{find: &quot;collection&quot;, filter: {}, foo: true}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;And for older servers, an OP_QUERY with &quot;$&quot; added to &quot;foo&quot; ?:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{$query: {}, $foo: true}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;I think we &lt;b&gt;should&lt;/b&gt; do this, to ensure support for future &quot;find&quot; command features and to ensure we didn&apos;t miss any obscure OP_QUERY features.&lt;/p&gt;</comment>
                            <comment id="1377745" author="jmikola@gmail.com" created="Tue, 6 Sep 2016 20:55:56 +0000"  >&lt;blockquote&gt;&lt;p&gt;$-prefixed options are prohibited, to avoid confusion about e.g. $orderby and &quot;sort&quot; - all options should use modern names&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;p&gt;Test that unrecognized opts fields are sent to server unmodified&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Do these two statements conflict? For legacy OP_QUERY usage, would we simply stuff $-prefixed modifiers into the first argument (i.e. filter document) and wrap the filter with $query as we presently do with &lt;tt&gt;mongoc_collection_find()&lt;/tt&gt;?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="343902">DRIVERS-347</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="315244">PHPC-783</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="314674">CDRIVER-1528</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="315710">CDRIVER-1539</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="317633">CDRIVER-1554</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="324394">CDRIVER-1751</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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>CDRIVER-1524</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hspfxj:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1255">C Driver 2016 sprint 8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>