NAME¶
mongoc_write_concern_append() - 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.
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.