1MONGOC_GRIDFS_FILE_LIST_T(3)   MongoDB C Driver   MONGOC_GRIDFS_FILE_LIST_T(3)
2
3
4

NAME

6       mongoc_gridfs_file_list_t - mongoc_gridfs_file_list_t
7

SYNOPSIS

9          #include <mongoc/mongoc.h>
10
11          typedef struct _mongoc_gridfs_file_list_t mongoc_gridfs_file_list_t;
12

DESCRIPTION

14       mongoc_gridfs_file_list_t  provides a gridfs file list abstraction.  It
15       provides iteration and basic marshalling  on  top  of  a  regular  mon‐
16       goc_collection_find_with_opts()  style query. In interface, it's styled
17       after mongoc_cursor_t.
18

EXAMPLE

20          mongoc_gridfs_file_list_t *list;
21          mongoc_gridfs_file_t *file;
22
23          list = mongoc_gridfs_find (gridfs, query);
24
25          while ((file = mongoc_gridfs_file_list_next (list))) {
26             do_something (file);
27
28             mongoc_gridfs_file_destroy (file);
29          }
30
31          mongoc_gridfs_file_list_destroy (list);
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.14.0                           Feb 22, 2019     MONGOC_GRIDFS_FILE_LIST_T(3)
Impressum