Scroll to navigation

MONGOC_CURSOR_DESTROY(3) libmongoc MONGOC_CURSOR_DESTROY(3)

NAME

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. Does nothing if cursor is NULL.

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc

August 31, 2022 1.23.0