SYNOPSIS
mongoc_cursor_t * mongoc_cursor_clone (const mongoc_cursor_t *cursor);
DESCRIPTION
The mongoc_cursor_clone() function shall create a copy of a mongoc_cursor(7).
Clone copies all of the set up behind a cursor. I.e. the query, fields, flags, etc. It does not copy any run time state.
RETURN VALUE
The mongoc_cursor_clone() function returns a new mongoc_cursor(7).
ERRORS
No errors are defined.
SEE ALSO
AUTHORS
This page was written by MongoDB Inc.