package caqti-driver-pgx

  1. Overview
  2. Docs
PostgreSQL driver for Caqti based on the pure-OCaml PGX library

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.2.4.tbz
sha256=b8ea432820154ec095132c4f7b244b06cd8553e0b2035185b844d9c4f30af8bb
sha512=b7e3ad8e6a9b587db2d517e15cd42df2945148f9223b2fa6f4bc2bcdd2709d53549cca4b65e54511d22466e4c9aa7f0b9c17305a07505519d8bf81d95de629b8

doc/caqti-driver-pgx/Caqti_driver_pgx/index.html

Module Caqti_driver_pgxSource

PostgreSQL driver for Caqti based on pgx

This driver is implemented in terms of the pgx library.

It handles URIs of the form

  pgx://<user>:<password>@<host-or-directory>:<port>/<database>

where <host-or-directory> is either a host name, an IP number, or a directory containing the Unix domain socket of a locally running PostgreSQL server. In the latter case, the directory must be percent-encoded, e.g.

  pgx://jdoe@%2fvar%2frun%2fpostgresql

The interface provided by this module should normally not be used by applications, but provides access to some pgx specifics in case they are needed.

Error Details

Sourcetype Caqti_error.msg +=
  1. | Pgx_msg of string * Pgx.Error_response.t
OCaml

Innovation. Community. Security.

On This Page
  1. Error Details