package caqti

All checked builds pass
  1. Overview
  2. Docs
Unified interface to relational database libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v3.1.0.tbz
sha256=43cfd7d41627be269449d1f17c4962876d2b383d12fe8c0574e0e07aa3d95243
sha512=b46dcf9e7c012aeefa80f143c840c80d7acd6bb30cd1657486d1adfe345d3570078667caeed728865905c9afd73083ffb1b6983cad7f7ef30e35550506c94c22

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

Module Connection_utils.Make_populateSource

Parameters

module Sys : System_sig.S
module _ : Caqti.Connection.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.Template.Row_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.