module MongoAdmin:sig..end
This module includes a series of APIs that client can use directly to obtain some admin level of information about a MongoDB, e.g., the list of databases inside, etc. Currently all commands are read-only ones, which means they are just retrieving infomation from MongoDB, not setting any configurations.
Please refer to MongoDB Commands for more information
exception MongoAdmin_failed of string
type t
val get_db_name : t -> stringval get_collection_name : t -> stringval get_ip : t -> stringval get_port : t -> intval get_file_descr : t -> Unix.file_descrval create : string -> int -> tval create_local_default : unit -> tval destory : t -> unitval listDatabases : t -> MongoReply.tval buildInfo : t -> MongoReply.tval collStats : t -> MongoReply.tval connPoolStats : t -> MongoReply.tval cursorInfo : t -> MongoReply.tval getCmdLineOpts : t -> MongoReply.tval hostInfo : t -> MongoReply.tval listCommands : t -> MongoReply.tval serverStatus : t -> MongoReply.t