PARAMETERS
- Provided by: libmongoc-doc (Version: 1.26.0-1.1ubuntu2)
- Source: mongo-c-driver
- Report a bug
This function shall create a copy of a mongoc_cursor_t. The cloned cursor will be reset to the beginning of the query, and therefore the query will be re-executed on the MongoDB server when mongoc_cursor_next() is called.
A newly allocated mongoc_cursor_t that should be freed with mongoc_cursor_destroy() when no longer in use.
WARNING:
MongoDB, Inc
2017-present, MongoDB, Inc