Provided by: libmongoc-doc_2.2.1-1_all 

SYNOPSIS
void
mongoc_cursor_destroy (mongoc_cursor_t *cursor);
PARAMETERS
• cursor: A mongoc_cursor_t <>.
DESCRIPTION
Frees a mongoc_cursor_t <> and releases all associated resources. If a server-side cursor has been
allocated, it will be released as well. Does nothing if cursor is NULL.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 MONGOC_CURSOR_DESTROY(3)