MONGOC_CLIENT_GET_MAX_BSON_SIZE(3) | MongoDB C Driver | MONGOC_CLIENT_GET_MAX_BSON_SIZE(3) |
mongoc_client_get_max_bson_size - mongoc_client_get_max_bson_size()
int32_t mongoc_client_get_max_bson_size (mongoc_client_t *client);
The mongoc_client_get_max_bson_size() returns the maximum bson document size allowed by the cluster. Until a connection has been made, this will be the default of 16Mb.
WARNING:
The server provided max bson size, or 16Mb if no connection has been established.
MongoDB, Inc
2017-present, MongoDB, Inc
February 23, 2019 | 1.14.0 |