Ubuntu Manpages

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