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

NAME

6       mongoc_gridfs_remove_by_filename - mongoc_gridfs_remove_by_filename()
7

SYNOPSIS

9          bool
10          mongoc_gridfs_remove_by_filename (mongoc_gridfs_t *gridfs,
11                                            const char *filename,
12                                            bson_error_t *error);
13

PARAMETERS

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

DESCRIPTION

22       Removes all files matching filename and their data chunks from the Mon‐
23       goDB server.
24

RETURNS

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

ERRORS

31       Errors are propagated via the error parameter.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.17.6                           Jun 03, 202M1ONGOC_GRIDFS_REMOVE_BY_FILENAME(3)
Impressum