PGOCaml_lwt
module Monad_lwt : sig ... end
module M = Monad_lwt
type 'a monad = 'a M.t
val describe_connection :
?host:string ->
?port:int ->
?user:string ->
?password:string ->
?database:string ->
?unix_domain_socket_dir:string ->
unit ->
connection_desc
val connection_desc_to_string : connection_desc -> string
val connect :
?host:string ->
?port:int ->
?user:string ->
?password:string ->
?database:string ->
?unix_domain_socket_dir:string ->
?desc:connection_desc ->
unit ->
'a t monad
val set_private_data : 'a t -> 'a -> unit
val private_data : 'a t -> 'a
val uuid : 'a t -> string
val pp_oid :
Ppx_deriving_runtime.Format.formatter ->
oid ->
Ppx_deriving_runtime.unit
val show_oid : oid -> Ppx_deriving_runtime.string
type row = result list
val pp_result_description :
Ppx_deriving_runtime.Format.formatter ->
result_description ->
Ppx_deriving_runtime.unit
val show_result_description : result_description -> Ppx_deriving_runtime.string
type row_description = result_description list
val pp_row_description :
Ppx_deriving_runtime.Format.formatter ->
row_description ->
Ppx_deriving_runtime.unit
val show_row_description : row_description -> Ppx_deriving_runtime.string
type params_description = param_description list
val describe_statement :
'a t ->
?name:string ->
unit ->
(params_description * row_description option) monad
val describe_portal :
'a t ->
?portal:string ->
unit ->
row_description option monad
val name_of_type : oid -> string
val string_of_oid : oid -> string
val string_of_int16 : int16 -> string
val string_of_point : point -> string
val string_of_hstore : hstore -> string
val string_of_numeric : numeric -> string
val string_of_uuid : uuid -> string
val string_of_jsonb : jsonb -> string
val string_of_inet : inet -> string
val string_of_timestamptz : timestamptz -> string
val string_of_bytea : bytea -> string
val string_of_bool_array : bool_array -> string
val string_of_int32_array : int32_array -> string
val string_of_int64_array : int64_array -> string
val string_of_string_array : string_array -> string
val string_of_bytea_array : string_array -> string
val string_of_float_array : float_array -> string
val string_of_timestamp_array : timestamp_array -> string
val string_of_uuid_array : uuid_array -> string
val oid_of_string : string -> oid
val int16_of_string : string -> int16
val point_of_string : string -> point
val hstore_of_string : string -> hstore
val numeric_of_string : string -> numeric
val uuid_of_string : string -> uuid
val jsonb_of_string : string -> jsonb
val inet_of_string : string -> inet
val timestamptz_of_string : string -> timestamptz
val bytea_of_string : string -> bytea
val bool_array_of_string : string -> bool_array
val int32_array_of_string : string -> int32_array
val int64_array_of_string : string -> int64_array
val string_array_of_string : string -> string_array
val float_array_of_string : string -> float_array
val timestamp_array_of_string : string -> timestamp_array
val return : 'a -> 'a monad