roddyyaga / ppx_rapper

Syntax extension for writing SQL in OCaml
Other
139 stars 18 forks source link

Replace old convenience functions with infix ops #21

Closed apeschar closed 2 years ago

apeschar commented 2 years ago

The find_* and execute functions were deprecated in the latest release of ocaml-caqti, 1.8.0.

The replacement infix operator for execute now takes an explicit argument to indicate a unit result. Otherwise the new infix operators and the old functions have the same signature.

See: https://paurkedal.github.io/ocaml-caqti/caqti/Caqti_request/Infix/index.html See: https://github.com/paurkedal/ocaml-caqti/blob/master/CHANGES.md#v180---2022-03-24

roddyyaga commented 2 years ago

Thanks for fixing!