DOKK / manpages / debian 11 / libmongoc-doc / mongoc_cursor_current.3.en
MONGOC_CURSOR_CURRENT(3) libmongoc MONGOC_CURSOR_CURRENT(3)

mongoc_cursor_current - mongoc_cursor_current()

const bson_t *
mongoc_cursor_current (const mongoc_cursor_t *cursor);


cursor: A mongoc_cursor_t.

Fetches the cursors current document or NULL if there has been an error.

A bson_t that should not be modified or freed or NULL.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6