1MONGOC_CURSOR_CURRENT(3) libmongoc MONGOC_CURSOR_CURRENT(3)
23
4
NAME
6mongoc_cursor_current - mongoc_cursor_current()
7
SYNOPSIS
9const bson_t *
10mongoc_cursor_current (const mongoc_cursor_t *cursor);
11
PARAMETERS
13• cursor: A mongoc_cursor_t.
14
DESCRIPTION
16Fetches the cursors current document or NULL if there has been an er‐
17ror.
18
RETURNS
20A bson_t that should not be modified or freed or NULL.
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.20.0 Nov 18, 2021 MONGOC_CURSOR_CURRENT(3)