table of contents
| MONGOC_FIND_AND_MODIFY_OPTS_GET_FIELDS(3) | libmongoc | MONGOC_FIND_AND_MODIFY_OPTS_GET_FIELDS(3) |
SYNOPSIS¶
void mongoc_find_and_modify_opts_get_fields (
const mongoc_find_and_modify_opts_t *opts, bson_t *fields);
PARAMETERS¶
- opts: A mongoc_find_and_modify_opts_t <>.
- fields: An uninitialized bson_t <https://www.mongoc.org/libbson/current/bson_t.html>.
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.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| November 26, 2025 | 2.2.0 |