https://mmottl.github.io/postgresql-ocaml/
OCaml-bindings for the PostgreSQL database
https://mmottl.github.io/postgresql-ocaml/
database ocaml postgresql
Last synced: 7 months ago
JSON representation
OCaml-bindings for the PostgreSQL database
- Host: GitHub
- URL: https://mmottl.github.io/postgresql-ocaml/
- Owner: mmottl
- License: other
- Created: 2014-07-06T18:16:37.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2025-09-23T18:28:32.000Z (9 months ago)
- Last Synced: 2025-09-23T19:30:18.827Z (9 months ago)
- Topics: database, ocaml, postgresql
- Language: OCaml
- Size: 1.18 MB
- Stars: 149
- Watchers: 8
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-ocaml - PostgreSQL-OCaml
README
# PostgreSQL-OCaml - PostgreSQL Bindings for OCaml
## Overview
PostgreSQL-OCaml is an [OCaml](http://www.ocaml.org) library that provides a
type-safe interface to [PostgreSQL](http://www.postgresql.org), a reliable and
efficient open-source relational database. It replicates almost all
functionality available through the C-API (`libpq`) using objects to represent
database connections and query results.
## Usage
The OCaml API, detailed in `lib/postgresql.mli`, is well-documented. You can
generate HTML documentation with `make doc`, or access it
[online](http://mmottl.github.io/postgresql-ocaml/api/postgresql).
For more information on interacting with PostgreSQL, refer to the
[PostgreSQL documentation](http://www.postgresql.org/docs). The `examples`
directory contains concise OCaml examples that are ideal for beginners.
## Contributing
To report bugs, request features, or contribute, please use the
[GitHub issue tracker](https://github.com/mmottl/postgresql-ocaml/issues).
For the latest updates, visit: