Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12939

Docs for TOOLS-2276: dump/export/files query should use extJSON v2 and ordered BSON

      Description

      Description:

      This ticket will change the allowed JSON format of the query flag.

      Engineering Ticket Description:

      The 'query' command line flag consumes legacy JSON.  This needs to be converted to take relaxed or canonical extended JSON.  This is a breaking change, because the legacy format allow unquoted JSON keys like the shell does, but I think it's an acceptable change to require JSON input to be actual, legal JSON.

      We also need to change the query type from bson.M to bson.D to be order preserving and use the driver's extended JSON parser to give us an order-preserving translation of the JSON.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 30 weeks, 6 days ago