package pgocaml_ppx

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Pgocaml_ppx.Ppx_pgsqlSource

Sourceval nullable_name : string
Sourceval unravel_name : string
Sourceval typname_name : string
Sourcetype key = PGOCaml.connection_desc
Sourceval connections : (key, unit PGOCaml.t) Hashtbl.t
Sourceval exp_of_string : loc:Ppxlib.location -> string -> Ppxlib_ast__Import.Js.Ast.Parsetree.expression
Sourceval get_connection : loc:'a -> key -> (unit PGOCaml.t PGOCaml.monad, string * 'a) Rresult.result

get_connection key Find the database connection specified by key, * otherwise attempt to create a new one from key and return that (or an * error).

Sourceval name_of_type_wrapper : 'a PGOCaml.t -> PGOCaml.oid -> string option
Sourceval unravel_type : 'a PGOCaml.t -> ?load_custom_from:string -> ?colnam:string -> ?argnam:string -> ?typnam:string -> PGOCaml.oid -> string * (string * string) option
Sourceval range : int -> int -> int list
Sourceval rex : Re.re
Sourceval loc_raise : 'a -> exn -> 'b
Sourceval const_string : loc:Astlib__.Location.t -> string -> Ppxlib.Parsetree.expression
Sourceval parse_flags : string list -> 'a -> PGOCaml.connection_desc * bool * bool * bool * string option * string option
Sourceval mk_conversions : ?load_custom_from:string -> loc:Astlib__.Location.t -> dbh:'a PGOCaml.t -> (PGOCaml.result_description * bool) list -> (Ppxlib_ast.Ast.expression * Ppxlib_ast.Ast.expression) list
Sourceval coretype_of_type : loc:Astlib__.Location.t -> dbh:'a PGOCaml.t -> PGOCaml.oid -> Ppxlib.Parsetree.core_type
Sourceval mk_listpat : loc:Astlib__.Location.t -> 'a list -> Ppxlib_ast.Ast.pattern

produce a list pattern to match the result of a query

Sourceval pgsql_expand : genobject:bool -> ?flags:string list -> Ppxlib.Location.t -> Ppxlib_ast.Ast.expression -> string -> (Ppxlib_ast.Ast.expression, string * Ppxlib.Location.t) Rresult.result
Sourceval expand_sql : genobject:bool -> Ppxlib.Location.t -> Ppxlib_ast.Ast.expression -> string list -> (Ppxlib_ast.Ast.expression, string * Ppxlib.Location.t) Rresult.result
Sourceval list_of_string_args : (Ppxlib.Asttypes.arg_label * Ppxlib.Parsetree.expression) list -> string list
Sourceval gen_expand : bool -> loc:Ppxlib.Location.t -> path:'a -> Ppxlib.Parsetree.expression -> Ppxlib_ast.Ast.expression
Sourceval extension_pgsql : Ppxlib.Extension.t
Sourceval extension_pgsql_object : Ppxlib.Extension.t
Sourceval rule_pgsql : Ppxlib.Context_free.Rule.t
Sourceval rule_pgsql_object : Ppxlib.Context_free.Rule.t