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

Support bulk insert in shell

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:

      At least error out if not supported:

      > db.foo.drop()
      true
      > db.foo.insert([{},{}])
      > db.foo.find()
      { "_id" : ObjectId("4e6e6b3b296dfe99311b45e5"), "0" : { }, "1" : { } }

      D'oh!

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: