SYNOPSIS

bool
mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);

DESCRIPTION

The mongoc_gridfs_file_save() function saves the file to the gridfs database it was created or queried from.

RETURN VALUE

The mongoc_gridfs_file_save() function returns true if successful

ERRORS

On error, the mongoc_gridfs_file_save() function returns false and mongoc_gridfs_file_error(3) can be used to extract the error.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.