sig
  type stmt
  type result
  val create : Mysql.dbd -> string -> Mysql.Prepared.stmt
  val execute : Mysql.Prepared.stmt -> string array -> Mysql.Prepared.result
  val affected : Mysql.Prepared.stmt -> int64
  val insert_id : Mysql.Prepared.stmt -> int64
  val real_status : Mysql.Prepared.stmt -> int
  val fetch : Mysql.Prepared.result -> string option array option
  val close : Mysql.Prepared.stmt -> unit
end