package ppx_mysql

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

Innovation. Community. Security.