ppx_mysql

Syntax extension for facilitating usage of MySQL bindings
IN THIS PACKAGE
type dbh
type stmt
type stmt_result
type error
type wrapped_dbh
type wrapped_error = [
| `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