1MONGOC_GRIDFS_FILE_REMOVE(3) libmongoc MONGOC_GRIDFS_FILE_REMOVE(3)
2
3
4
6 bool
7 mongoc_gridfs_file_remove (mongoc_gridfs_file_t *file, bson_error_t *error);
8
10 • file: A mongoc_gridfs_file_t.
11
12 • error: An optional location for a bson_error_t or NULL.
13
15 Removes file and its data chunks from the MongoDB server.
16
18 Returns true if successful. Returns false and sets error if there are
19 invalid arguments or a server or network error.
20
22 Errors are propagated via the error parameter.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 MONGOC_GRIDFS_FILE_REMOVE(3)