Introduced in CDRIVER-1692 circa commit 971af90ac2. Valid queries that mix $ and non-$ operators are prohibited, but they shouldn't be. An example of such a query is:
{"$or":[{"field1":1},{"field2":2}], "field3":3}
This results in cursor failure:
Cannot mix top-level query with dollar keys such as $orderby. Use {$query: {},...} instead.
- related to
-
CDRIVER-1692 mongoc_collection_find_with_opts() conflict with projection operators
- Closed