package caqti

  1. Overview
  2. Docs
Unified interface to relational database libraries

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.0.1.tbz
sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4

doc/caqti.platform/Caqti_platform/Connection_utils/Make_populate/index.html

Module Connection_utils.Make_populateSource

Parameters

module Sys : System_sig.S
module C : Caqti_connection_sig.Base with type 'a fiber := 'a Sys.Fiber.t and type ('a, 'err) stream := ('a, 'err) Sys.Stream.t

Signature

Insertion

Sourceval populate : table:string -> columns:string list -> 'a Caqti_type.t -> ('a, 'err) Sys.Stream.t -> (unit, [> Caqti_error.call_or_retrieve | `Congested of 'err ]) result Sys.Fiber.t

populate table columns row_type seq inputs the contents of seq into the database in whatever manner is most efficient as decided by the driver.

OCaml

Innovation. Community. Security.