[CDRIVER-693] Replace mongoc_collection_delete() with mongoc_collection_remove() in mongo-c-driver/doc/deleting-document.page Created: 01/Jun/15  Updated: 17/Aug/15  Resolved: 03/Jun/15

Status: Closed
Project: C Driver
Component/s: docs, libmongoc
Affects Version/s: 1.1.6
Fix Version/s: 1.2-beta0

Type: Improvement Priority: Minor - P4
Reporter: Peng Xie Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

As mongoc_collection_delete() is deprecated and should not be used in new code.

The document could update as well.



 Comments   
Comment by Githook User [ 03/Jun/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-693 references to deprecated delete flags

mongoc_delete_flags_t is deprecated for mongoc_remove_flags_t. Also, make
references to either enum a hotlink.
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/8cee8c39e1cafd9a5c81a2ff4fd0e03707636ed9

Comment by Githook User [ 03/Jun/15 ]

Author:

{u'username': u'mapx', u'name': u'Yuchen Xie', u'email': u'yuchen.xie@live.com'}

Message: Update a deprecated function in the demo

CDRIVER-693
Replace mongoc_collection_delete() with mongoc_collection_remove() in mongo-c-driver/doc/deleting-document.page

As mongoc_collection_delete() is deprecated and should not be used in new code.
The document could update as well.
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/d9bf2ec977919c91ab44fbce5329a47a02ef6b4f

Generated at Wed Feb 07 21:10:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.