I’d like to know about a good toolkit for sql handling in ocaml
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.
There’s also sqlgg, which offers a code generation approach: