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

       Sets the read concern level. See mongoc_read_concern_t for details.

       Beginning  in  version  1.9.0,  this function can now alter the read concern after it has been used in an
       operation. Previously, using the struct with an operation would mark it  as  "frozen"  and  calling  this
       function would return false instead of altering the read concern.

Parameters

read_concern: A mongoc_read_concern_t.

       • level: The readConcern level to use.

Returns

       Returns true if the read concern level was set, or false otherwise.

Synopsis

          bool
          mongoc_read_concern_set_level (mongoc_read_concern_t *read_concern,
                                         const char *level);

See Also