Provided by: libmongoc-doc_2.2.1-1_all bug

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  <https://www.mongoc.org/libbson/current/bson_t.html>  that  should not be modified or freed or
       NULL.

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                          MONGOC_CURSOR_CURRENT(3)