package ppx_mysql

  1. Overview
  2. Docs
type dbh = M.Prepared.dbh
type stmt
type stmt_result
type error = M.Prepared.error
type wrapped_dbh
type wrapped_error = [
  1. | `Mysql_error of error
]
val init : dbh -> wrapped_dbh
val execute_null : stmt -> string option array -> (stmt_result, [> wrapped_error ]) Stdlib.result IO.t
val fetch : stmt_result -> (string option array option, [> wrapped_error ]) Stdlib.result IO.t
val with_stmt_cached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) Stdlib.result IO.t) -> ('a, 'e) Stdlib.result IO.t
val with_stmt_uncached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) Stdlib.result IO.t) -> ('a, 'e) Stdlib.result IO.t
OCaml

Innovation. Community. Security.