Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mmottl/postgresql-ocaml

OCaml-bindings for the PostgreSQL database
https://github.com/mmottl/postgresql-ocaml

database ocaml postgresql

Last synced: 4 days ago
JSON representation

OCaml-bindings for the PostgreSQL database

Awesome Lists containing this project

README

        

## PostgreSQL-OCaml - PostgreSQL Bindings for OCaml

### What is PostgreSQL-OCaml?

This [OCaml](http://www.ocaml.org)-library provides an interface to
[PostgreSQL](http://www.postgresql.org), an efficient and reliable, open source,
relational database. Almost all functionality available through the C-API
(`libpq`) is replicated in a type-safe way. This library uses objects for
representing database connections and results of queries.

### Usage

The OCaml-API in file `lib/postgresql.mli` is well-documented and can be built
as HTML with `make doc`. The API-documentation can also be found
[online](http://mmottl.github.io/postgresql-ocaml/api/postgresql).

More detailed information on how to interact with PostgreSQL is available in the
[PostgreSQL-documentation](http://www.postgresql.org/docs). The OCaml-examples
in the `examples`-directory are mostly very short and comprehensible and
therefore a good way to get started.

### Contact Information and Contributing

Please submit bugs reports, feature requests, contributions and similar to
the [GitHub issue tracker](https://github.com/mmottl/postgresql-ocaml/issues).

Up-to-date information is available at: