|
SYNOPSIS#include <mongoc/mongoc.h> typedef struct _mongoc_gridfs_file_list_t mongoc_gridfs_file_list_t; DESCRIPTIONmongoc_gridfs_file_list_t provides a gridfs file list abstraction. It provides iteration and basic marshalling on top of a regular mongoc_collection_find_with_opts() style query. In interface, it's styled after mongoc_cursor_t. EXAMPLEmongoc_gridfs_file_list_t *list;
mongoc_gridfs_file_t *file;
list = mongoc_gridfs_find (gridfs, query);
while ((file = mongoc_gridfs_file_list_next (list))) {
AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|