Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

const bson_t *

Author

       MongoDB, Inc

Description

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

Parameters

       • cursor: A mongoc_cursor_t.

Returns

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

Synopsis

          const bson_t *
          mongoc_cursor_current (const mongoc_cursor_t *cursor);

See Also