1MONGOC_GRIDFS_FIND_WITH_OPTS(3)MongoDB C DriverMONGOC_GRIDFS_FIND_WITH_OPTS(3)
2
3
4

NAME

6       mongoc_gridfs_find_with_opts - mongoc_gridfs_find_with_opts()
7

SYNOPSIS

9          mongoc_gridfs_file_list_t *
10          mongoc_gridfs_find_with_opts (mongoc_gridfs_t *gridfs,
11                                        const bson_t *filter,
12                                        const bson_t *opts) BSON_GNUC_WARN_UNUSED_RESULT;
13

PARAMETERS

15       · gridfs: A mongoc_gridfs_t.
16
17       · filter: A bson_t containing the query to execute.
18
19       · opts:  A  bson_t query options, including sort order and which fields
20         to return. Can be NULL.
21

DESCRIPTION

23       Finds all gridfs files matching filter. You  can  iterate  the  matched
24       gridfs files with the resulting file list.
25
26       See  mongoc_collection_find_with_opts  for  a description of the filter
27       and opts parameters.
28

RETURNS

30       A newly allocated mongoc_gridfs_file_list_t that should be  freed  with
31       mongoc_gridfs_file_list_destroy() when no longer in use.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.13.1                           Jan 24, 2019  MONGOC_GRIDFS_FIND_WITH_OPTS(3)
Impressum