-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Add support for parsing
mongodb://localhost/?compressors=snappy,zlib
mongoc_uri_new("mongodb://localhost/?" MONGOC_URI_COMPRESSORS "=snappy,zlib");
Also, add mongoc_uri getter and setter:
MONGOC_EXPORT (const bson_t *) mongoc_uri_get_compressors (const mongoc_uri_t *uri); MONGOC_EXPORT (bool) mongoc_uri_set_compressors (mongoc_uri_t *uri, const char *value);