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/index.html

Module Ppx_mysql_runtimeSource

Sourcetype deserialization_error = {
  1. idx : int;
  2. name : string;
  3. func : string;
  4. value : string;
  5. message : string;
}
Sourcetype column_error = [
  1. | `Expected_non_null_column of int * string
  2. | `Deserialization_error of deserialization_error
]
Sourcetype 'a deserializer = string -> ('a, string) result
Sourceval string_of_string : string deserializer
Sourceval int_of_string : int deserializer
Sourceval int32_of_string : int32 deserializer
Sourceval int64_of_string : int64 deserializer
Sourceval bool_of_string : bool deserializer
Sourceval identity : 'a -> 'a
Sourceval deserialize_non_nullable_column : int -> string -> 'a deserializer -> string -> column_error list -> string option -> 'a option * column_error list
Sourceval deserialize_nullable_column : int -> string -> 'a deserializer -> string -> column_error list -> string option -> 'a option option * column_error list
Sourcemodule type SERIALIZABLE = sig ... end
Sourcemodule type PPX_MYSQL_CONTEXT_ARG = sig ... end
Sourcemodule type PPX_MYSQL_CONTEXT = sig ... end
Sourcemodule Stdlib : sig ... end
OCaml

Innovation. Community. Security.