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

void

Author

       MongoDB, Inc

Parameters

opts: A mongoc_transaction_opt_t.

       • read_prefs: A mongoc_read_prefs_t.

Synopsis

          void
          mongoc_transaction_opts_set_read_prefs (mongoc_transaction_opt_t *opts,
                                                  const mongoc_read_prefs_t *read_prefs);

       Configure  the  transaction's  read  preference.  The argument is copied into the struct and can be freed
       after calling this function.

See Also