1MONGOC_CLIENT_GET_MAX_BSON_SIZE(3) libmongocMONGOC_CLIENT_GET_MAX_BSON_SIZE(3)
2
3
4
6 mongoc_client_get_max_bson_size - mongoc_client_get_max_bson_size()
7
9 int32_t
10 mongoc_client_get_max_bson_size (mongoc_client_t *client);
11
12 The mongoc_client_get_max_bson_size() returns the maximum bson document
13 size allowed by the cluster. Until a connection has been made, this
14 will be the default of 16Mb.
15
17 WARNING:
18 This function is deprecated and should not be used in new code.
19
21 • client: A mongoc_client_t.
22
24 The server provided max bson size, or 16Mb if no connection has been
25 established.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.23.1 Oct 20, 2022MONGOC_CLIENT_GET_MAX_BSON_SIZE(3)