1MONGOC_GRIDFS_FILE_REMOVE(3) libmongoc MONGOC_GRIDFS_FILE_REMOVE(3)
2
3
4
6 mongoc_gridfs_file_remove - mongoc_gridfs_file_remove()
7
9 bool
10 mongoc_gridfs_file_remove (mongoc_gridfs_file_t *file, bson_error_t *error);
11
13 · file: A mongoc_gridfs_file_t.
14
15 · error: An optional location for a bson_error_t or NULL.
16
18 Removes file and its data chunks from the MongoDB server.
19
21 Returns true if successful. Returns false and sets error if there are
22 invalid arguments or a server or network error.
23
25 Errors are propagated via the error parameter.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.16.2 Feb 25, 2020 MONGOC_GRIDFS_FILE_REMOVE(3)