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

NAME

6       mongoc_gridfs_bucket_delete_by_id - mongoc_gridfs_bucket_delete_by_id()
7

SYNOPSIS

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

PARAMETERS

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

DESCRIPTION

22       Deletes a file and its contents from GridFS.
23

RETURNS

25       True if the operation succeeded. False otherwise, and sets error.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.16.2                           Feb 25, 20M2O0NGOC_GRIDFS_BUCKET_DELETE_BY_ID(3)
Impressum