Scroll to navigation

MONGOC_WRITE_CONCERN_APPEND(3) Library Functions Manual MONGOC_WRITE_CONCERN_APPEND(3)

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.

COLOPHON

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