package ppx_mysql

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_mysql-1.1.1.tbz
sha256=910ab811ed663a9e06c0690dabc2d8ceec6984d8d71060cce531a9bc74bfd603
sha512=c6744c3fefbeca7b8ecac85174c2e2c76987f0491a265f49e19cc61b64ee7d3c62234d3d01106e9a9d6dcd8318d88c277c00957eae1a6d30d7bd4607088b989f

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.