1MONGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)libmongoMcONGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)
2
3
4

SYNOPSIS

6          bool
7          mongoc_gridfs_bucket_delete_by_id (mongoc_gridfs_bucket_t *bucket,
8                                             const bson_value_t *file_id,
9                                             bson_error_t *error);
10

PARAMETERS

12bucket: A mongoc_gridfs_bucket_t.
13
14file_id: A bson_value_t of the id of the file to delete.
15
16error: A bson_error_t to receive any error or NULL.
17

DESCRIPTION

19       Deletes a file and its contents from GridFS.
20

RETURNS

22       True if the operation succeeded. False otherwise, and sets error.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.25.1                           Nov 08, 20M2O3NGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)
Impressum