Make query flag preserve key order in subdocuments

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.0-rc9
    • Component/s: All Tools

      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

            Assignee:
            Unassigned
            Reporter:
            Kyle Erf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: