[SERVER-3819] Support bulk insert in shell Created: 12/Sep/11  Updated: 11/Jul/16  Resolved: 29/Sep/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Greg Studer
Resolution: Done Votes: 1
Labels: rn
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-2395 Allow multidoc (bulk) insert Closed
Participants:

 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!



 Comments   
Comment by Greg Studer [ 29/Sep/11 ]

yeah, basically. I'll push it now to 2.1

Comment by Eliot Horowitz (Inactive) [ 13/Sep/11 ]

@greg - did you already do this?

Generated at Thu Feb 08 03:04:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.