What is a good and maintained SQL toolkit for ocaml?

I’d like to know about a good toolkit for sql handling in ocaml

3 Likes

If you’re talking about building queries only, there’s Sequoia:

If you’re talking about actually interfacing with an SQL database, there’s Caqti:

There are also several engine-specific libraries, such as postgresql-ocaml, pgocaml, pgx, ocaml-mysql, etc.

2 Likes

There’s also sqlgg, which offers a code generation approach:

3 Likes