Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
Description
Input:
_gen_find_command('collection', {'$query': {'foo': 1}, '$dumb': 2}, None,
|
0, 0, 0, None)
|
I believe the expected output is:
SON([('find', 'collection'), ('filter', {'foo': 1}), ('$dumb', 2)])
|
But the unrecognized $-option is omitted, if there is also a $query in the input:
SON([('find', 'collection'), ('filter', {'foo': 1})])
|