1MONGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)libmongoMcONGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)
2
3
4
6 mongoc_gridfs_bucket_delete_by_id - mongoc_gridfs_bucket_delete_by_id()
7
9 bool
10 mongoc_gridfs_bucket_delete_by_id (mongoc_gridfs_bucket_t *bucket,
11 const bson_value_t *file_id,
12 bson_error_t *error);
13
15 • bucket: A mongoc_gridfs_bucket_t.
16
17 • file_id: A bson_value_t of the id of the file to delete.
18
19 • error: A bson_error_t to receive any error or NULL.
20
22 Deletes a file and its contents from GridFS.
23
25 True if the operation succeeded. False otherwise, and sets error.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.20.0 Nov 18, 20M2O1NGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)