SysTutorials

Linux Manual Pages › Section 3

mongoc_cursor_destroy(3)

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.