package caqti-driver-sqlite3
Sqlite3 driver for Caqti using C bindings
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-v2.1.1.tbz
sha256=483a535f41e2641917fc1832ce4ad15ffc3f4e8283b1b3018a2617349583090a
sha512=6a1222c0c55cb16a9d409980f9f2400340689b87e21aafed2d7459fd7feaeb109c2dfaf77f55f8422fbb7d3772342565ced7fed78a7b77af5aedab5bfd5ae882
doc/caqti-driver-sqlite3/Caqti_driver_sqlite3/index.html
Module Caqti_driver_sqlite3
Source
Sqlite3 driver for Caqti (bindings).
This driver is implemented in terms of the sqlite3 OPAM package, which provides bindings for libsqlite3. It handles URIs of the form
sqlite3://<path>?create=<bool>&write=<bool>
where <path>
is passed to Sqlite3.db_open
and the query string is used to determine its mode
parameter. The <bool>
parameters take the values true
and false
, and default to true
.
The interface provided by this module should normally not be used by applications, but provides access to some Sqlite3 specifics in case they are needed.
Error Details
The following provides access to diagnostics collected from the Sqlite3 connection.
Source
type Caqti_error.msg +=
| Error_msg of {
errcode : Sqlite3.Rc.t;
(*The OCaml encoding of the error code reported by
*)sqlite3_errcode
.errmsg : string option;
(*The error message reportedy by
*)sqlite3_errmsg
.
}
Access to Raw Connection Handle
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page