1MONGOC_CURSOR_GET_HINT(3)          libmongoc         MONGOC_CURSOR_GET_HINT(3)
2
3
4

NAME

6       mongoc_cursor_get_hint - mongoc_cursor_get_hint()
7

SYNOPSIS

9          uint32_t
10          mongoc_cursor_get_hint (const mongoc_cursor_t *cursor);
11

PARAMETERS

13cursor: A mongoc_cursor_t.
14

DESCRIPTION

16       Retrieves the opaque id of the server used for the operation.
17
18       (The  function  name includes the old term "hint" for the sake of back‐
19       ward compatibility, but we now call this number a "server id".)
20
21       This number is zero until the driver actually uses a server  when  exe‐
22       cuting the find operation or mongoc_cursor_set_hint() is called.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.23.1                           Oct 20, 2022        MONGOC_CURSOR_GET_HINT(3)
Impressum