1MONGOC_GRIDFS_BUCKET_OPEN_DOWNLOAD_MSlOTiNRbGEmOAoCMn_(gG3oR)cIDFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)
2
3
4

NAME

6       mongoc_gridfs_bucket_open_download_stream             -            mon‐
7       goc_gridfs_bucket_open_download_stream()
8

SYNOPSIS

10          mongoc_stream_t *
11          mongoc_gridfs_bucket_open_download_stream (mongoc_gridfs_bucket_t *bucket,
12                                                     const bson_value_t *file_id,
13                                                     bson_error_t *error)
14             BSON_GNUC_WARN_UNUSED_RESULT;
15

PARAMETERS

17bucket: A mongoc_gridfs_bucket_t.
18
19file_id: A bson_value_t of the id of the file to download.
20
21error: A bson_error_t to receive any error or NULL.
22

DESCRIPTION

24       Opens a stream for reading a file from GridFS.
25

RETURNS

27       A mongoc_stream_t that can be read from or NULL on failure.  Errors  on
28       this stream can be retrieved with mongoc_gridfs_bucket_stream_error().
29
30       SEE ALSO:
31          mongoc_gridfs_bucket_stream_error()
32
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.20.0                           NoMvON1G8O,C_2G0R2I1DFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)
Impressum