1MONGOC_CURSOR_GET_ID(3) libmongoc MONGOC_CURSOR_GET_ID(3)
23
4
SYNOPSIS
6int64_t
7mongoc_cursor_get_id (const mongoc_cursor_t *cursor);
8
PARAMETERS
10• cursor: A mongoc_cursor_t.
11
DESCRIPTION
13Retrieves the cursor id used by the server to track the cursor.
1415
This number is zero until the driver actually uses a server when exe‐
16cuting the query, and after it has fetched all results from the server.
17
AUTHOR
19MongoDB, Inc
20
COPYRIGHT
222017-present, MongoDB, Inc
2324
25
26
27
1.25.1 Nov 08, 2023 MONGOC_CURSOR_GET_ID(3)