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
17error.
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.17.4 Feb 04, 2021 MONGOC_CURSOR_CURRENT(3)