1MONGOC_GRIDFS_REMOVE_BY_FILENAME(3)libmongocMONGOC_GRIDFS_REMOVE_BY_FILENAME(3)
2
3
4

SYNOPSIS

6          bool
7          mongoc_gridfs_remove_by_filename (mongoc_gridfs_t *gridfs,
8                                            const char *filename,
9                                            bson_error_t *error);
10

PARAMETERS

12gridfs: A mongoc_gridfs_t.
13
14filename: A UTF-8 encoded string containing the filename.
15
16error: An optional location for a bson_error_t or NULL.
17

DESCRIPTION

19       Removes all files matching filename and their data chunks from the Mon‐
20       goDB server.
21

RETURNS

23       Returns true if successful, including  when  no  files  match.  Returns
24       false and sets error if there are invalid arguments or a server or net‐
25       work error.
26

ERRORS

28       Errors are propagated via the error parameter.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.25.1                           Nov 08, 202M3ONGOC_GRIDFS_REMOVE_BY_FILENAME(3)
Impressum