Skip to content

Reference

Every module’s interface, generated by odoc from its .mli, where each function says what it does, what it refuses and what it defaults to.

Each package is separate, so a program links only what it uses. A dune file names a library as it is installed (rowtype-postgres); OCaml code names it as a module (Rowtype_postgres).

Package Libraries What it is
rowtype rowtype Queries described once; links no database library
rowtype-postgres rowtype-postgres The Postgres backend, over postgres-eio
rowtype-sqlite rowtype-sqlite The SQLite backend, over the sqlite3 binding
rowtype-migrate rowtype-migrate, rowtype-migrate.postgres, rowtype-migrate.sqlite The migrations and the rowtype-migrate command, for each dialect installed beside it
  • Postgres_eio – the driver under rowtype-postgres, whose connection strings, pool and listener it passes through.