mongoc_gridfs_file_save man page

mongoc_gridfs_file_save() — Saves modifications to file to the MongoDB server.

Synopsis

bool
mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);

Parameters

file
A mongoc_gridfs_file_t

Description

Saves modifications to file to the MongoDB server.

If an error occurred, false is returned and the error can be retrieved with mongoc_gridfs_file_error(3)

Returns

Returns true if successful, otherwise false.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

mongoc_gridfs_file_set_aliases(3), mongoc_gridfs_file_set_content_type(3), mongoc_gridfs_file_set_filename(3), mongoc_gridfs_file_set_md5(3), mongoc_gridfs_file_set_metadata(3).

2016‐10‐19 MongoDB C Driver