package mongo

  1. Overview
  2. Docs
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
OCaml

Innovation. Community. Security.