mongoc_cursor_destroy man page

mongoc_cursor_destroy — mongoc_cursor_destroy()

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.

Author

MongoDB, Inc

Referenced By

mongoc_client_command(3), mongoc_collection_aggregate(3), mongoc_collection_command(3), mongoc_collection_find(3), mongoc_collection_find_with_opts(3), mongoc_cursors(3), mongoc_database_command(3).

Feb 02, 2017 1.6.0 MongoDB C Driver