ppx_sqlexpr

AuthorMauricio Fernandez <mfp@acm.org>
LicenseLGPL-2.1 with OCaml linking exception
Homepagehttp://github.com/mfp/ocaml-sqlexpr
Issue Trackerhttps://github.com/mfp/ocaml-sqlexpr/issues
Maintainermfp@acm.org
Dependencies
&base-unix
jbuilder
lwt
ocaml-migrate-parsetree
ounit
ppx_core
ppx_tools_versioned
re>= 1.3.0
PublishedMay 12, 2018
Source [http] https://github.com/mfp/ocaml-sqlexpr/releases/download/0.9.0/ocaml-sqlexpr-0.9.0.tar.gz
edca74c7c1af6f7ebb0c46598f242552
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_sqlexpr/ppx_sqlexpr.0.9.0/opam

Type-safe, convenient SQLite database access - extension for use with sqlexpr.

sqlexpr provides 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)

Necessary for
sqlexpr
>= 0.9.0