Provided by: libmongoc-doc_1.30.2-1_all 

SYNOPSIS
void mongoc_bulkwrite_updateoneopts_set_sort (mongoc_bulkwrite_updateoneopts_t *self, bson_t* sort);
DESCRIPTION
sort specifies a sorting order if the query matches multiple documents. The first document matched by the sort order will be updated. This option is only sent if the caller explicitly provides a value.
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc. 1.30.2 Mar 05, 2025 MONGOC_BULKWRITE_UPDATEONEOPTS_SET_SORT(3)