mongoc_cursor_current man page

mongoc_cursor_current() — Fetches the cursors current document or NULL if there has been an error.

Synopsis

const bson_t *
mongoc_cursor_current (const mongoc_cursor_t *cursor);

Parameters

cursor
A mongoc_cursor_t

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

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐19 MongoDB C Driver