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 -> string
val get_collection_name : t -> string
val get_ip : t -> string
val get_port : t -> int
val get_file_descr : t -> Unix.file_descr
val create : string -> int -> t
val create_local_default : unit -> t
val destory : t -> unit
val listDatabases : t -> MongoReply.t
val buildInfo : t -> MongoReply.t
val collStats : t -> MongoReply.t
val connPoolStats : t -> MongoReply.t
val cursorInfo : t -> MongoReply.t
val getCmdLineOpts : t -> MongoReply.t
val hostInfo : t -> MongoReply.t
val listCommands : t -> MongoReply.t
val serverStatus : t -> MongoReply.t