tizoc / ppx_pgsql

Syntax extension for embedded SQL queries using PG'OCaml.
BSD 3-Clause "New" or "Revised" License
52 stars 9 forks source link

Examples / Tests? #2

Closed mgallagher closed 5 years ago

mgallagher commented 7 years ago

These would be appreciated 👍

tizoc commented 5 years ago

I'm sorry @mgallagher! I never saw this until someone else opened a new issue yesterday. Right now my OCaml install is broken after an operating system upgrade, I will add an example program once I'm able to fix it.

But for the basic setup for Lwt, take a look at my reply to #3

tizoc commented 5 years ago

Added an example here https://github.com/tizoc/ppx_pgsql/blob/master/example/todo_lwt.ml

mgallagher commented 5 years ago

Much appreciated @tizoc, thanks for the update 👍