ocaml_db_model

An Ocaml library and utility for creating modules out of thin air that describe database tables and types, with functions for running queries and commands. Aka database modelling
Description

In the style of ODB for C++ or JOOQ for Java, this project aims to get off the ground rudimentary support for the creation of code (Ocaml modules) that otherwise would have to be tediously hand written, and maintained to track changes, such as to field names and types, in a live database. The output modules can serve as inputs to other client projects. This project supports mysql. For postgresql support see the ocaml_pgsql_model project

Install
Published
05 Dec 2020
Sources
0.1.tar.gz
md5=bc28476bd5ec043480ffe16283e18f51
sha512=5ff9718fb40620141a8f211183cde1873c4070a269ce9990b4c7ec45095126d5faf1e014920d7639639222b763590513395b633d72d8cdc7b8912c266dc2b052
Dependencies
yojson
>= "1.7.0"
uint
>= "2.0.1"
pcre
>= "7.2.3"
ppx_fields_conv
>= "v0.14.0" & < "v0.15"
mysql
>= "1.2.4"
fieldslib
>= "v0.14.0" & < "v0.15"
core
>= "v0.14.0" & < "v0.15"
bignum
>= "v0.14.0" & < "v0.15"
ocaml
>= "4.08.1"
dune
>= "2.0"
Reverse Dependencies