package pgx

  1. Overview
  2. Docs
Pure-OCaml PostgreSQL client library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pgx_lwt_mirage-2.0.tbz
sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd
sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98

doc/pgx/Pgx/module-type-Io/index.html

Module type Pgx.IoSource

Sourcetype 'a t
Sourceval return : 'a -> 'a t
Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Sourceval catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
Sourcetype in_channel
Sourcetype out_channel
Sourcetype sockaddr =
  1. | Unix of string
  2. | Inet of string * int
Sourceval open_connection : sockaddr -> (in_channel * out_channel) t
Sourcetype ssl_config
Sourceval upgrade_ssl : [ `Not_supported | `Supported of ?ssl_config:ssl_config -> in_channel -> out_channel -> (in_channel * out_channel) t ]
Sourceval output_char : out_channel -> char -> unit t
Sourceval output_binary_int : out_channel -> int -> unit t
Sourceval output_string : out_channel -> string -> unit t
Sourceval flush : out_channel -> unit t
Sourceval input_char : in_channel -> char t
Sourceval input_binary_int : in_channel -> int t
Sourceval really_input : in_channel -> Bytes.t -> int -> int -> unit t
Sourceval close_in : in_channel -> unit t
Sourceval getlogin : unit -> string t
Sourceval debug : string -> unit t
Sourceval protect : (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
Sourcemodule Sequencer : sig ... end
OCaml

Innovation. Community. Security.