MONGOC_GRIDFS_FILE_OPT_T(3) libmongoc MONGOC_GRIDFS_FILE_OPT_T(3)

typedef struct {
   const char *md5;
   const char *filename;
   const char *content_type;
   const bson_t *aliases;
   const bson_t *metadata;
   uint32_t chunk_size;
} mongoc_gridfs_file_opt_t;


This structure contains options that can be set on a mongoc_gridfs_file_t. It can be used by various functions when creating a new gridfs file.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0