mongoc_cursor_destroy man page

mongoc_cursor_destroy() — Frees a mongoc_cursor_t and releases all associated resources. If a server-side cursor has been allocated, it will be released as well.

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.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

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_cursor_clone(3), mongoc_cursors(3), mongoc_database_command(3).

2016‐10‐19 MongoDB C Driver