Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12093

[Server] Define 'ordered' for insertMany

    XMLWordPrintableJSON

Details

    Description

      Description

      The Server docs don't specify the behavior of ordered=true. Let's add the definition. 

       

      http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#insertMany:

      ordered boolean true optional
      If true, when an insert fails, don't execute the remaining writes. If false, continue with remaining inserts when one fails.

      https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/

      ordered boolean Optional. A boolean specifying whether the mongod instance should perform an ordered or unordered insert. Defaults to true.

       

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            joseph.dougherty@mongodb.com Joseph Dougherty
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              45 weeks, 2 days ago