mongoc_cursor_current - Man Page

Synopsis

const bson_t *
mongoc_cursor_current (const mongoc_cursor_t *cursor);

Parameters

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

Info

Jan 27, 2026 1.30.6 libmongoc