DOKK / manpages / debian 13 / libmongoc-doc / mongoc_cursor_destroy.3.en
MONGOC_CURSOR_DESTROY(3) libmongoc MONGOC_CURSOR_DESTROY(3)

void
mongoc_cursor_destroy (mongoc_cursor_t *cursor);


cursor: A mongoc_cursor_t.

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.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4