1MONGOC_SERVER_API_VERSION_FROM_STRINlGi(b3mM)oOnNgGoOcC_SERVER_API_VERSION_FROM_STRING(3)
2
3
4
6 mongoc_server_api_version_from_string - mongoc_server_api_ver‐
7 sion_from_string()
8
10 bool
11 mongoc_server_api_version_from_string (const char *version,
12 mongoc_server_api_version_t *out);
13
14 Given a string version, populates out with the equivalent mon‐
15 goc_server_api_version_t if version represents a valid API version.
16
18 • version: A string representing the version identifier.
19
20 • out: A pointer to a mongoc_server_api_version_t.
21
23 True on success, false on failure. On success, out is populated with
24 the converted version string. On failure, out is not altered.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.20.0 Nov 18M,ON2G0O2C1_SERVER_API_VERSION_FROM_STRING(3)