package sqlexpr

  1. Overview
  2. No Docs
Type-safe, convenient SQLite database access.

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-sqlexpr-0.7.1.tar.gz
sha256=53ba6b40693ecf4cf26ca33699e821e2178fdfe017f7ab43ab84cd1d261ea7b1
md5=b6181ef02719eeb6b00dc7c66d275e0f

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: 27 Aug 2016

Dependencies (13)

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

Dev Dependencies (1)

  1. ounit with-test

Used by (1)

  1. pa_sqlexpr

Conflicts

None

OCaml

Innovation. Community. Security.