1MONGOC_GRIDFS_BUCKET_OPEN_DOWNLOAD_MSlOTiNRbGEmOAoCMn_(gG3oR)cIDFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)
2
3
4
6 mongoc_gridfs_bucket_open_download_stream - mon‐
7 goc_gridfs_bucket_open_download_stream()
8
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
17 • bucket: A mongoc_gridfs_bucket_t.
18
19 • file_id: A bson_value_t of the id of the file to download.
20
21 • error: A bson_error_t to receive any error or NULL.
22
24 Opens a stream for reading a file from GridFS.
25
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
35 MongoDB, Inc
36
38 2017-present, MongoDB, Inc
39
40
41
42
431.23.1 OcMtON2G0O,C_2G0R2I2DFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)