ocaml_pgsql_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 support postgresql. For mysql support see the ocaml_db_model project

Install
Published
14 Dec 2020
Sources
0.1.tar.gz
md5=0473138e502e2b55a8f673f45674da1f
sha512=49748d1691078467ceea4c58e54a53ee7e59b7f23ec858efcf596b98b256fa1db0c316b44c7c34349d005b34d15d97f31ddde574ebff3ccd1ebc81bd8c8f9908
Dependencies
yojson
>= "1.7.0"
uint
>= "2.0.1"
pcre
>= "7.2.3"
ppx_fields_conv
>= "v0.14.0" & < "v0.15"
postgresql
>= "4.0.1"
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