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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query 2018-06-18, Query 2018-07-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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}]
          }
      ]
      

            Assignee:
            David Storch
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: