Incorrect error message when providing incorrect args to $out

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4
    • Hide

      Run the following command via the shell:

      db.t.aggregate([{$out: {db: "testout"}}])

      Show
      Run the following command via the shell: db.t.aggregate( [{$out: {db: "testout"}}] )
    • Query 2020-03-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The server outputs the following message when incorrect $out args are provided:
      "errmsg" : "$out $out must have only db and coll string arguments"

      1. $out appears twice
      2. the same message is shown if either db or coll args are provided (but not both)

            Assignee:
            Ted Tuckman
            Reporter:
            Tomer Yakir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: