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

Description

       Copy  to  fields  the  BSON  document  that  was  set  with  mongoc_find_and_modify_opts_set_fields(), or
       initializes fields with an empty BSON document.

Parameters

opts: A mongoc_find_and_modify_opts_t.

       • fields: An uninitialized bson_t.

Synopsis

          void
          mongoc_find_and_modify_opts_get_fields (
             const mongoc_find_and_modify_opts_t *opts, bson_t *fields);

See Also