1MONGOC_GRIDFS_BUCKET_FIND(3)   MongoDB C Driver   MONGOC_GRIDFS_BUCKET_FIND(3)
2
3
4

NAME

6       mongoc_gridfs_bucket_find - mongoc_gridfs_bucket_find()
7

SYNOPSIS

9          mongoc_cursor_t *
10          mongoc_gridfs_bucket_find (mongoc_gridfs_bucket_t *bucket,
11                                     const bson_t *filter,
12                                     const bson_t *opts);
13

PARAMETERS

15       · bucket: A mongoc_gridfs_bucket_t.
16
17       · filter: A bson_t containing the query to execute.
18
19       · opts:  A  bson_t  for  query  options, supporting all options in mon‐
20         goc_collection_find_with_opts() excluding sessionId.
21

DESCRIPTION

23       Finds file documents from the bucket's files collection.
24

RETURNS

26       A newly allocated mongoc_cursor_t that must be freed  with  mongoc_cur‐
27       sor_destroy().
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.14.0                           Feb 22, 2019     MONGOC_GRIDFS_BUCKET_FIND(3)
Impressum