Provided by: libmongoc-doc_1.30.2-1_all 

SYNOPSIS
const bson_t *
mongoc_cursor_current (const mongoc_cursor_t *cursor);
PARAMETERS
• cursor: A mongoc_cursor_t.
DESCRIPTION
Fetches the cursors current document or NULL if there has been an error.
RETURNS
A bson_t that should not be modified or freed or NULL.
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc.
1.30.2 Mar 05, 2025 MONGOC_CURSOR_CURRENT(3)