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.3.tbz
sha256=7ac90d54b649692b9d2c2bedb3a2f9cce4d100d4db5443fc482f1e8337e19911
sha512=d47a05607a526bb1c2f3a0a3a79f84d181362810845f2c1e1004b80cb41ee748e9216be971c5e3c9c1e4027eec91de2d9effe57fd8e0d83b8861d5d0bfd6c3d1

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

Module Make_context.PreparedSource

Sourcetype stmt
Sourcetype stmt_result
Sourcetype wrapped_dbh
Sourcetype wrapped_error = [
  1. | `Mysql_error of error
]
Sourceval init : dbh -> wrapped_dbh
Sourceval execute_null : stmt -> string option array -> (stmt_result, [> wrapped_error ]) result IO.t
Sourceval fetch : stmt_result -> (string option array option, [> wrapped_error ]) result IO.t
Sourceval with_stmt_cached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) result IO.t) -> ('a, 'e) result IO.t
Sourceval with_stmt_uncached : wrapped_dbh -> string -> (stmt -> ('a, [> wrapped_error ] as 'e) result IO.t) -> ('a, 'e) result IO.t
OCaml

Innovation. Community. Security.