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