mongoc_bulkwrite_replaceoneopts_set_sort(3)
| MONGOC_BULKWRITE_REPLACEONEOPTS_SET_SORT(3) | libmongoc | MONGOC_BULKWRITE_REPLACEONEOPTS_SET_SORT(3) |
SYNOPSIS
void mongoc_bulkwrite_replaceoneopts_set_sort (mongoc_bulkwrite_replaceoneopts_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 replaced. This option is only sent if the caller explicitly provides a value.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
