package pgx_async

  1. Overview
  2. Docs
Pgx using Async for IO

Install

Dune Dependency

Authors

Maintainers

Sources

pgx-2.2.tbz
sha256=e50dfb4e9d124d74da0d82f480357f63f947bb469b49c171ffd5f27c3c69c56a
sha512=07592f9c9a123b446f2742cc39bf23751dd0590b8028e7ed14f254c6f2c77a23efc616557aff43775354ff49cf71276ac400cf72d2c4d921fa4473d0b3209b21

doc/pgx_async/Pgx_async_test/index.html

Module Pgx_async_testSource

Testing library for code that uses postgres

Sourceval set_to_default_db : unit -> unit
Sourcetype 'a new_db_callback = Pgx_async.t -> db_name:string -> 'a Async_kernel.Deferred.t

with_temp_db f creates a temporary database and executes f with a database handle to this db and the name of the db. Once f executes or raises, the temp database will be deleted.

OCaml

Innovation. Community. Security.