sqlexprversion

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)

AuthorMauricio Fernandez <mfp@acm.org>
LicenseLGPL-2.1-only WITH OCaml-LGPL-linking-exception
Published
Homepagehttp://github.com/mfp/ocaml-sqlexpr
Issue Trackerhttps://github.com/mfp/ocaml-sqlexpr/issues
Maintainermfp@acm.org
Dependencies
Optional dependencies
Source [http] https://github.com/mfp/ocaml-sqlexpr/releases/download/0.8.0/ocaml-sqlexpr-0.8.0.tar.gz
sha256=772e5bb244853ccda68436e3104d597fab75777519a5f1cf1e4d5af9f1563c6c
md5=56199939a7c4c090e6d233a484d009bb
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/sqlexpr/sqlexpr.0.8.0/opam
Required by