mongoc_cursor_current man page

mongoc_cursor_current ā€” mongoc_cursor_current()

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 that should not be modified or freed or NULL.

Author

MongoDB, Inc

Info

Nov 17, 2017 1.8.2 MongoDB C Driver