sqlexpr

Author Mauricio Fernandez <mfp@acm.org>
License LGPL-2.1 with OCaml linking exception
Homepage http://github.com/mfp/ocaml-sqlexpr
Issue Tracker https://github.com/mfp/ocaml-sqlexpr/issues
Maintainer mfp@acm.org
Dependencies
& base-unix
cppo
csv
estring
lwt >= 2.2.0
ocamlbuild
ocamlfind
ounit
ppx_tools
re >= 1.3.0
sqlite3 2.0.3| >= 2.0.4
Available ocaml-version >= "4.02.0" & ocaml-version < "4.04.0"
Published Aug 26, 2016
Source [http] http://forge.ocamlcore.org/frs/download.php/1640/ocaml-sqlexpr-0.7.1.tar.gz
b6181ef02719eeb6b00dc7c66d275e0f
Statistics Installed 3 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/sqlexpr/sqlexpr.0.7.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)

No package is dependent