Scroll to navigation

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


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