package sqlexpr

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

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-sqlexpr-0.6.1.tar.gz
sha256=c10119895c542398af286e0ae134e2f1a501e2340e81dc3b7a8b1c37a785d458
md5=b6d908b34856e67c39a0c2b7c356ebcb

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 (11)

  1. ocamlbuild build
  2. sqlite3 = "2.0.3"
  3. sqlite3 >= "2.0.4"
  4. ocamlfind
  5. lwt >= "2.2.0" & < "4.0.0"
  6. csv
  7. estring
  8. batteries = "1.4.3"
  9. batteries = "1.5.0"
  10. batteries
  11. ocaml >= "4.01.0"

Dev Dependencies

None

Used by (1)

  1. pa_sqlexpr

Conflicts

None

OCaml

Innovation. Community. Security.