1MONGOC_CLIENT_RESET(3) MongoDB C Driver MONGOC_CLIENT_RESET(3)
2
3
4
6 mongoc_client_reset - mongoc_client_reset()
7
9 void
10 mongoc_client_reset (mongoc_client_t *client);
11
12 Causes the client to clear its session pool without sending endSes‐
13 sions, and to close all its connections. Call this method in the child
14 after forking.
15
16 This method increments an internal generation counter on the given
17 client. After this method is called, cursors from previous generations
18 will not issue a killCursors command when they are destroyed.
19
21 · client: A mongoc_client_t.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.14.0 Feb 22, 2019 MONGOC_CLIENT_RESET(3)