1MONGOC_SERVER_API_T(3) libmongoc MONGOC_SERVER_API_T(3)
2
3
4
6 mongoc_server_api_t - mongoc_server_api_t
7
8 A versioned API to use for connections.
9
11 Used to specify which version of the MongoDB server's API to use for
12 driver connections.
13
14 The server API type takes a mongoc_server_api_version_t. It can optionā
15 ally be strict about the list of allowed commands in that API version,
16 and can also optionally provide errors for deprecated commands in that
17 API version.
18
19 A mongoc_server_api_t can be set on a client, and will then be sent to
20 MongoDB for most commands run using that client.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.23.1 Oct 20, 2022 MONGOC_SERVER_API_T(3)