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

SYNOPSIS

6          mongoc_stream_t *
7          mongoc_gridfs_bucket_open_download_stream (mongoc_gridfs_bucket_t *bucket,
8                                                     const bson_value_t *file_id,
9                                                     bson_error_t *error)
10             BSON_GNUC_WARN_UNUSED_RESULT;
11

PARAMETERS

13bucket: A mongoc_gridfs_bucket_t.
14
15file_id: A bson_value_t of the id of the file to download.
16
17error: A bson_error_t to receive any error or NULL.
18

DESCRIPTION

20       Opens a stream for reading a file from GridFS.
21

RETURNS

23       A  mongoc_stream_t  that can be read from or NULL on failure. Errors on
24       this stream can be retrieved with mongoc_gridfs_bucket_stream_error().
25
26       SEE ALSO:
27          mongoc_gridfs_bucket_stream_error()
28
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.25.1                           NoMvON0G8O,C_2G0R2I3DFS_BUCKET_OPEN_DOWNLOAD_STREAM(3)
Impressum