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

Support bulk insert in shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • None
    • 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

        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: