1MONGOC_CURSOR_CURRENT(3) libmongoc MONGOC_CURSOR_CURRENT(3)
23
4
SYNOPSIS
6const bson_t *
7mongoc_cursor_current (const mongoc_cursor_t *cursor);
8
PARAMETERS
10• cursor: A mongoc_cursor_t.
11
DESCRIPTION
13Fetches the cursors current document or NULL if there has been an er‐
14ror.
15
RETURNS
17A bson_t that should not be modified or freed or NULL.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_CURSOR_CURRENT(3)