mongoc_gridfs_file_set_id()¶
Synopsis¶
bool
mongoc_gridfs_file_set_id (mongoc_gridfs_file_t *file,
const bson_value_t *id,
bson_error_t error);
Parameters¶
file
: A :symbol:` mongoc_gridfs_file_t <mongoc_gridfs_file_t>`.id
: Abson_value_t
.error
: A bson_error_t.
Returns¶
Returns true if successful, otherwise false.