roddyyaga / ppx_rapper

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

Deprecation alert with Caqti #22

Closed davisuga closed 2 years ago

davisuga commented 2 years ago
Alert deprecated: Caqti_request.exec
Replaced by the Infix module.
File "lib/storage.ml", lines 2-11, characters 2-15:
 2 | ..[%rapper
 3 |     execute
 4 |       {sql|CREATE TABLE IF NOT EXISTS logs (
 5 |             id uuid PRIMARY KEY NOT NULL,
 6 |             created_at timestamp NOT NULL,
 7 |             message varchar NOT NULL,
 8 |             level varchar NOT NULL,
 9 |             origin varchar NOT NULL,
10 |             stack varchar NOT NULL
11 |         )|sql}]

Which infix operator replaced execute and how would I use it with rapper?

roddyyaga commented 2 years ago

Fixed by #21