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

Support bulk insert in shell

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Shell
    • Labels:

      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

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: