1MONGOC_CLIENT_GET_MAX_BSON_SIZE(3) libmongocMONGOC_CLIENT_GET_MAX_BSON_SIZE(3)
2
3
4

NAME

6       mongoc_client_get_max_bson_size - mongoc_client_get_max_bson_size()
7

SYNOPSIS

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

DEPRECATED

17       WARNING:
18          This function is deprecated and should not be used in new code.
19

PARAMETERS

21client: A mongoc_client_t.
22

RETURNS

24       The  server  provided  max bson size, or 16Mb if no connection has been
25       established.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.21.1                           Mar 02, 2022MONGOC_CLIENT_GET_MAX_BSON_SIZE(3)
Impressum