package caqti

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v2.3.2.tbz
sha256=8f6c1724b59ac22a5c657c9e53b9a1706e39ecd462e82958b0cea88e43f0aba7
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8

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_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.