Caqti/ppx_rapper tutorial

I propose the following tutorial

It is about Caqti and ppx_rapper use. The tutorial also uses the Lwt_result monad and its (let*) binding operator. This avoid any explicit error handling.

I hope this will be interesting, and will be glad to get some advice to improve this first copy.

Perhaps I should add a section about processing a list of queries (ex: a query returns a list of item and we want to execute a new query for each row)



I think this is a great start. I recently asked about how to do transactions in Caqti with rapper, I think it would be awesome to include some usage examples of that as well.

The tutorial is updated (add the iteration/transaction section).

I was inspired by a neighbour thread…