MONGOC_CURSOR_CURRENT(3) libmongoc MONGOC_CURSOR_CURRENT(3)

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

March 31, 2024 1.26.0