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

Support bulk insert in shell

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.1.0
    • Shell

    Description

      At least error out if not supported:

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

      D'oh!

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: