logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bool

Author

       MongoDB, Inc

Description

       Fetches if the write should be written to a majority of nodes before indicating success.

Parameters

write_concern: A mongoc_write_concern_t.

Returns

       Returns true if wmajority is set.

Synopsis

          bool
          mongoc_write_concern_get_wmajority (
             const mongoc_write_concern_t *write_concern);

See Also