sqlexpr

AuthorMauricio Fernandez <mfp@acm.org>
LicenseLGPL-2.1 with OCaml linking exception
Homepagehttp://github.com/mfp/ocaml-sqlexpr
Issue Trackerhttps://github.com/mfp/ocaml-sqlexpr/issues
Maintainermfp@acm.org
Dependencies
&batteries
csv
lwt>= 2.2.0&4.0.0
ocamlbuild
ocamlfind
sqlite3= 2.0.3|>= 2.0.4
|batteries1.4.3|1.5.0
estring
Availableocaml-version >= "4.01.0"
PublishedAug 25, 2016
Source [http] http://forge.ocamlcore.org/frs/download.php/1639/ocaml-sqlexpr-0.6.1.tar.gz
b6d908b34856e67c39a0c2b7c356ebcb
StatisticsInstalled 9 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/sqlexpr/sqlexpr.0.6.1/opam

Type-safe, convenient SQLite database access.

Minimalistic library and syntax extension for type-safe, convenient execution of SQL statements. Currently compatible with Sqlite3.

Sqlexpr features:

  • automated prepared statement caching, param binding, data extraction, error checking (including automatic stmt reset to avoid BUSY/LOCKED errors in subsequent queries), stmt finalization on db close, etc.

  • HOFs like iter, fold, transaction

  • support for different concurrency models: everything is functorized over a THREAD monad, so you can for instance do concurrent folds/iters with Lwt

  • support for SQL stmt syntax checks and some extra semantic checking (column names, etc)

Necessary for
pa_sqlexpr