1MONGOC_GRIDFS_BUCKET_FIND(3)       libmongoc      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) BSON_GNUC_WARN_UNUSED_RESULT;
13

PARAMETERS

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

DESCRIPTION

23       Finds file documents from the bucket's files collection.
24
25       This function is considered a retryable read operation.  Upon  a  tran‐
26       sient error (a network error, errors due to replica set failover, etc.)
27       the operation is safely retried once.  If retryreads is  false  in  the
28       URI (see mongoc_uri_t) the retry behavior does not apply.
29

RETURNS

31       A   newly   allocated   mongoc_cursor_t   that   must   be  freed  with
32       mongoc_cursor_destroy().
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.23.1                           Oct 20, 2022     MONGOC_GRIDFS_BUCKET_FIND(3)
Impressum