[DOCS-8670] Link to db.collection.bulkWrite() method from Bulk() methods. Created: 24/Aug/16  Updated: 30/Oct/23  Resolved: 14/Nov/16

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

Type: Improvement Priority: Minor - P4
Reporter: Dennis Kashkin Assignee: Steve Renaker (Inactive)
Resolution: Done Votes: 0
Labels: bite-sized, collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/method/Bulk/#bulk
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Referrer: https://stackoverflow.com/questions/36429475/update-field-type-in-mongo
Screen Resolution: 1920 x 1080


Issue Links:
Related
is related to SERVER-24002 Consider deprecating the bulk API in ... Closed
Participants:
Days since reply: 7 years, 13 weeks, 1 day ago
Story Points: 0.25

 Description   

I see quite a few people saying that this 2.6 Bulk() API is now depreciated and replaced by 3.2 db.collection.bulkWrite(). If this is the case, I think this page needs a clear message and a link to the new API. Otherwise developers are likely to start coding using this old API.



 Comments   
Comment by Githook User [ 15/Nov/16 ]

Author:

{u'username': u'steveren', u'name': u'Steve Renaker', u'email': u'steve.renaker@mongodb.com'}

Message: DOCS-8670: Link to db.collection.bulkWrite() method from Bulk() methods

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/114eb124da41680b4c9d44fd739416e9d488d7d4

Comment by Allison Reinheimer Moore [ 25/Aug/16 ]

Hi dennis.kashkin@gmail.com!

The Bulk() API is not deprecated in the mongo shell - the drivers have stopped using it, which may be the source of discussion, but it's definitely still in the core server and shell. There is discussion about deprecating it (https://jira.mongodb.org/browse/SERVER-24002), but its deprecation is not scheduled.

From our end, we are going to add a note to the Bulk() methods pointing people to db.colleciton.bulkWrite() as a more intuitive alternative, but you can absolutely use Bulk() for your shell operations if you so desire.

Thanks!
Allison

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