[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 |
||
| Issue Links: |
|
||||||||
| 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: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Allison Reinheimer Moore [ 25/Aug/16 ] |
|
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! |