Support bulk insert in shell

XMLWordPrintableJSON

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

      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 Studer (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: