Right now our tools that use a --query flag can fail in instances of querying against an _id field that has a subdocument, e.g.
{_id: {a:1, b:2}}
because matching on _id subdocuments is order-dependent. We should add an internal json.UnmarshalToBSOND function to make proper ordering maintained for nested documents
- duplicates
-
TOOLS-2276 dump/export/files query should use extJSON v2 and ordered BSON
- Closed