table of contents
| MONGOC_FIND_AND_MODIFY_OPTS_GET_SORT(3) | libmongoc | MONGOC_FIND_AND_MODIFY_OPTS_GET_SORT(3) |
SYNOPSIS¶
void mongoc_find_and_modify_opts_get_sort (const mongoc_find_and_modify_opts_t *opts,
bson_t *sort);
PARAMETERS¶
- opts: A mongoc_find_and_modify_opts_t <>.
- sort: An uninitialized bson_t <https://www.mongoc.org/libbson/current/bson_t.html>.
DESCRIPTION¶
Copies the sort document set with mongoc_find_and_modify_opts_set_sort() <>, or initializes sort with an empty BSON document.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| December 11, 2025 | 2.2.1 |