1MONGOC_GRIDFS_DROP(3) MongoDB C Driver MONGOC_GRIDFS_DROP(3)
2
3
4
6 mongoc_gridfs_drop - mongoc_gridfs_drop()
7
9 bool
10 mongoc_gridfs_drop (mongoc_gridfs_t *gridfs, bson_error_t *error);
11
13 · gridfs: A mongoc_gridfs_t.
14
15 · error: An optional location for a bson_error_t or NULL.
16
18 Requests that an entire GridFS be dropped, including all files associ‐
19 ated with it.
20
22 Errors are propagated via the error parameter.
23
25 Returns true if successful. Returns false and sets error if there are
26 invalid arguments or a server or network error.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.13.1 Jan 24, 2019 MONGOC_GRIDFS_DROP(3)