1MONGOC_CLIENT_SESSION_GET_SERVER_ID(l3i)bmonMgOoNcGOC_CLIENT_SESSION_GET_SERVER_ID(3)
2
3
4
6 mongoc_client_session_get_server_id - mongoc_client_ses‐
7 sion_get_server_id()
8
10 uint32_t
11 mongoc_client_session_get_server_id (const mongoc_client_session_t *session);
12
13 Get the "server ID" of the mongos this mongoc_client_session_t is
14 pinned to.
15
17 • session: A mongoc_client_session_t.
18
20 A server ID or 0 if this mongoc_client_session_t is not pinned.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.20.0 Nov 18,M2O0N2G1OC_CLIENT_SESSION_GET_SERVER_ID(3)