PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code.
Why do you think that https://github.com/livebook-dev/livebook is a good alternative to pgocaml