bson_get_major_version − bson_get_major_version()
int bson_get_major_version (void);
Get the first number in libbson's MAJOR.MINOR.MICRO release version.
The value of BSON_MAJOR_VERSION when Libbson was compiled.
MongoDB, Inc
2017-present, MongoDB, Inc