mongoc_write_concern_append()
Synopsis
bool mongoc_write_concern_append (mongoc_write_concern_t *write_concern, bson_t *command);
Parameters
write_concern |
A pointer to a mongoc_write_concern_t. |
command |
A pointer to a bson_t. |
Description
This function appends a valid write concern to a command. It is useful for appending a write concern to a command before passing it to a generic command function like mongoc_client_command_simple.
Returns
Returns true on success, and false otherwise.