-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Query
-
ALL
SERVER-39256 broke $comment support for the distinct command:
$ mongo MongoDB shell version v4.0.1 connecting to: mongodb://127.0.0.1:27017 MongoDB server version: 4.1.9-87-g40f54965f9 WARNING: shell and server versions do not match > db.runCommand({distinct:"test", key: "x", $comment: "dsf"}) { "ok" : 0, "errmsg" : "BSON field 'distinct.$comment' is an unknown field.", "code" : 40415, "codeName" : "Location40415" }
- is caused by
-
SERVER-39256 Implement translation for distinct command on mongocryptd
- Closed
- is depended on by
-
PYTHON-1786 PyMongo sends "$comment" with distinct and count instead of "comment"
- Closed