package ppx_mysql

  1. Overview
  2. Docs
Syntax extension for facilitating usage of MySQL bindings

Install

Dune Dependency

Authors

Maintainers

Sources

1.1.tar.gz
md5=1a29e0700c1311552059a8587168bdf6
sha512=a6f2922611acd4bf7998d24e3edd25a2740c944b1cfaf9220e6f33a32fabb9a7ec670ba5c2a7e0f48a27ad72455562c3b00bc0765bd3d196ef1b12985447f1ad

doc/ppx_mysql.runtime/Ppx_mysql_runtime/Make_context/Prepared/index.html

Module Make_context.Prepared

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 ]) result IO.t
val fetch : stmt_result -> (string option array option, [> wrapped_error ]) result IO.t
val with_stmt_cached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) result IO.t) -> ('a, 'e) result IO.t
val with_stmt_uncached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) result IO.t) -> ('a, 'e) result IO.t
OCaml

Innovation. Community. Security.