package sqlexpr

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

Install

Authors

Maintainers

Sources

ocaml-sqlexpr-0.9.0.tar.gz
md5=edca74c7c1af6f7ebb0c46598f242552

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: 14 May 2018

Dependencies (9)

  1. ppx_sqlexpr
  2. base-unix
  3. sqlite3 = "2.0.3"
  4. sqlite3 >= "2.0.4"
  5. lwt_ppx
  6. lwt >= "2.2.0"
  7. csv
  8. jbuilder >= "1.0+beta7"
  9. ocaml >= "4.02.0"

Dev Dependencies

None

Used by (1)

  1. pa_sqlexpr

Conflicts

None