1MONGOC_GRIDFS_FILE_LIST_T(3)       libmongoc      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
16       mongoc_collection_find_with_opts()  style  query.  In  interface,  it's
17       styled 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.24.3                           Aug 17, 2023     MONGOC_GRIDFS_FILE_LIST_T(3)
Impressum