MONGOC_FIND_AND_MODIFY_OPTS_GET_UPDATE(3) libmongoc MONGOC_FIND_AND_MODIFY_OPTS_GET_UPDATE(3)

void
mongoc_find_and_modify_opts_get_update (
   const mongoc_find_and_modify_opts_t *opts, bson_t *update);


  • opts: A mongoc_find_and_modify_opts_t.
  • update: An uninitialized bson_t.

Copies the update document set with mongoc_find_and_modify_opts_set_update(), or initializes update with an empty BSON document.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0