package sqlexpr
-
sqlexpr.ppx
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module used by the code generated for SQL literals.
type ('a, 'b) directive =
((Sqlite3.Data.t list * int * string * string option) -> 'b) ->
(Sqlite3.Data.t list * int * string * string option) ->
'a
val literal : string -> ('a, 'a) directive
val int : (int -> 'a, 'a) directive
val text : (string -> 'a, 'a) directive
val blob : (string -> 'a, 'a) directive
val float : (float -> 'a, 'a) directive
val int32 : (int32 -> 'a, 'a) directive
val int64 : (int64 -> 'a, 'a) directive
val bool : (bool -> 'a, 'a) directive
val any : (('b -> string) -> 'b -> 'a, 'a) directive
val maybe_int : (int option -> 'a, 'a) directive
val maybe_text : (string option -> 'a, 'a) directive
val maybe_blob : (string option -> 'a, 'a) directive
val maybe_float : (float option -> 'a, 'a) directive
val maybe_int32 : (int32 option -> 'a, 'a) directive
val maybe_int64 : (int64 option -> 'a, 'a) directive
val maybe_bool : (bool option -> 'a, 'a) directive
val maybe_any : (('b -> string) -> 'b option -> 'a, 'a) directive