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

  • opts: A mongoc_find_and_modify_opts_t.
  • sort: An uninitialized bson_t.

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 12, 2024 1.29.1