MongocBinding of the MongoDB C client library, libmongoc
Initialize the MongoDB C Driver by calling init exactly once at the beginning of your program. It is responsible for initializing global state such as process counters, SSL, and threading primitives.
Call cleanup exactly once at the end of your program to release all memory and other resources allocated by the driver. You must not call any other MongoDB C Driver functions after cleanup. Note that init does not reinitialize the driver after cleanup.
module Read_prefs : sig ... endmodule Uri : sig ... endmodule Cursor : sig ... endmodule Collection : sig ... endmodule Database : sig ... endmodule Client : sig ... end