Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-84868

Extend mql --test to be able to accept literal data and literal find commands

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query 2018-06-18, Query 2018-07-02

    Description

      Test mode should allow you to do something like this:

      [
          {
              "find": {"find": "collection", "match": {"a": {"$gt": 0}}},
              "data": {"namespace": "collection", "data": [{"a": -1}, {"a": 3}]},
              "expected": [{"a" 3}]
          }
      ]
      

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: