[DOCS-9726] db.collection.insertMany() reference syntax is wrong Created: 05/Jan/17  Updated: 05/Jan/17  Resolved: 05/Jan/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Critical - P2
Reporter: Allison Reinheimer Moore Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 7 years, 5 weeks, 6 days ago

 Description   

The syntax currently reads:

db.collection.insertMany(
   { [ <document 1> , <document 2>, ... ] },
   {
      writeConcern: <document>,
      ordered: <boolean>
   }
)

There shouldn't be braces around the array of docs.



 Comments   
Comment by Githook User [ 05/Jan/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-9726: correct insertMany ref syntax
Branch: v3.2
https://github.com/mongodb/docs/commit/b4ba72b9d9a37c220d2b1f15d83b1aea1dba6d9a

Comment by Githook User [ 05/Jan/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-9726: correct insertMany ref syntax
Branch: master
https://github.com/mongodb/docs/commit/128de6147b363c497fe3838c1aaac165994508b4

Generated at Thu Feb 08 07:59:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.