Description

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)

Published: 05 May 2017

Dependencies (13)

  1. ounit with-test
  2. re build & >= "1.3.0"
  3. cppo_ocamlbuild build
  4. cppo build
  5. ocamlbuild build
  6. base-unix
  7. sqlite3 = "2.0.3"
  8. sqlite3 >= "2.0.4"
  9. ocamlfind
  10. lwt >= "2.2.0" & < "4.0.0"
  11. csv
  12. ppx_tools
  13. ocaml >= "4.02.0" & <= "4.05.0"

Reverse Dependencies (1)

  1. pa_sqlexpr

Conflicts

    None
Type-safe, convenient SQLite database access.

Install

Authors

Maintainers

Sources

ocaml-sqlexpr-0.8.0.tar.gz
md5=56199939a7c4c090e6d233a484d009bb