1MONGOC_CURSOR_DESTROY(3) libmongoc MONGOC_CURSOR_DESTROY(3)
23
4
SYNOPSIS
6void
7mongoc_cursor_destroy (mongoc_cursor_t *cursor);
8
PARAMETERS
10• cursor: A mongoc_cursor_t.
11
DESCRIPTION
13Frees a mongoc_cursor_t and releases all associated resources. If a
14server-side cursor has been allocated, it will be released as well.
15Does nothing if cursor is NULL.
16
AUTHOR
18MongoDB, Inc
19
COPYRIGHT
212017-present, MongoDB, Inc
2223
24
25
26
1.25.1 Nov 08, 2023 MONGOC_CURSOR_DESTROY(3)