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

[manual] Update deprecated db.collection.save() method in docs corpus

      .save has been deprecated since 4.2 but is still in our docs corpus, this should be updated with one of the following:

      • insertOne
      • insertMany
      • updateOne
      • updateMany

       

      "Collection.save() is deprecated. Use insertOne, insertMany, updateOne, or updateMany."

      Currently affecting (17) pages.

      Example : https://docs.mongodb.com/manual/core/geospatial-indexes/#multi-location-documents-for-2d-indexes

       

            Assignee:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            ian.fogelman@mongodb.com Ian Fogelman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 13 weeks, 2 days ago