1MONGOC_GRIDFS_BUCKET_OPEN_DOWNLOMAoDn_gMSoOTDNRBGEOACCM_(DG3rR)iIvDeFrS_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
16 · bucket: A mongoc_gridfs_bucket_t.
17
18 · file_id: A bson_value_t of the id of the file to download.
19
20 · error: A bson_error_t to receive any error or NULL.
21
23 Opens a stream for reading a file from GridFS.
24
26 mongoc_gridfs_bucket_stream_error()
27
29 A mongoc_stream_t that can be read from or NULL on failure. Errors on
30 this stream can be retrieved with mongoc_gridfs_bucket_stream_error().
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.14.0 FeMbON2G2O,C_2G0R1I9DFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)