package caqti-driver-sqlite3
Sqlite3 driver for Caqti using C bindings
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-v2.0.1.tbz
sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4
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