1MONGOC_GRIDFS_DROP(3) libmongoc MONGOC_GRIDFS_DROP(3)
2
3
4
6 bool
7 mongoc_gridfs_drop (mongoc_gridfs_t *gridfs, bson_error_t *error);
8
10 • gridfs: A mongoc_gridfs_t.
11
12 • error: An optional location for a bson_error_t or NULL.
13
15 Requests that an entire GridFS be dropped, including all files associ‐
16 ated with it.
17
19 Errors are propagated via the error parameter.
20
22 Returns true if successful. Returns false and sets error if there are
23 invalid arguments or a server or network error.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.25.1 Nov 08, 2023 MONGOC_GRIDFS_DROP(3)