package sqlite3

  1. Overview
  2. Docs
SQLite3 bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

sqlite3-4.4.1.tbz
sha256=db9b84db23c25812dad8b56117d6c9473ee1c43ee79bd434356b688fc03e472f
md5=93763885a3606252aa8004f7662dd161

doc/sqlite3/Sqlite3/Aggregate/index.html

Module Sqlite3.AggregateSource

Sourceval create_fun0 : db -> string -> init:'a -> step:('a -> 'a) -> final:('a -> Data.t) -> unit

create_fun0 db name ~init ~step ~final registers the step and finalizer functions under name name with database handle db. This function has arity 0.

  • raises SqliteError

    if an invalid database handle is passed.

Sourceval create_fun1 : db -> string -> init:'a -> step:('a -> Data.t -> 'a) -> final:('a -> Data.t) -> unit

create_fun1 db name ~init ~step ~final registers the step and finalizer functions under name name with database handle db. This function has arity 1.

  • raises SqliteError

    if an invalid database handle is passed.

Sourceval create_fun2 : db -> string -> init:'a -> step:('a -> Data.t -> Data.t -> 'a) -> final:('a -> Data.t) -> unit

create_fun2 db name ~init ~step ~final registers the step and finalizer functions under name name with database handle db. This function has arity 2.

  • raises SqliteError

    if an invalid database handle is passed.

Sourceval create_fun3 : db -> string -> init:'a -> step:('a -> Data.t -> Data.t -> Data.t -> 'a) -> final:('a -> Data.t) -> unit

create_fun3 db name ~init ~step ~final registers the step and finalizer functions under name name with database handle db. This function has arity 3.

  • raises SqliteError

    if an invalid database handle is passed.

Sourceval create_funN : db -> string -> init:'a -> step:('a -> Data.t array -> 'a) -> final:('a -> Data.t) -> unit

create_funN db name ~init ~step ~final registers the step and finalizer functions under name name with database handle db. This function has arity N.

  • raises SqliteError

    if an invalid database handle is passed.

OCaml

Innovation. Community. Security.