Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

mongoc_read_prefs_t *

Author

       MongoDB, Inc

Description

       This function shall deep copy a read preference.

Parameters

       • read_prefs: A mongoc_read_prefs_t.

Returns

       Returns a newly allocated read preference that should be freed with mongoc_read_prefs_destroy().

Synopsis

          mongoc_read_prefs_t *
          mongoc_read_prefs_copy (const mongoc_read_prefs_t *read_prefs);

See Also