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