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

Incorrect error message when providing incorrect args to $out

    • 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

      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@mongodb.com Ted Tuckman
            Reporter:
            tomer.yakir@mongodb.com Tomer Yakir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: