Skip to content

Commit

Permalink
example/h-sql: tup2 is deprecated (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafatouny authored Dec 17, 2024
1 parent da94944 commit 204a792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/h-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module T = Caqti_type
let list_comments =
let query =
let open Caqti_request.Infix in
(T.unit ->* T.(tup2 int string))
(T.unit ->* T.(t2 int string))
"SELECT id, text FROM comment" in
fun (module Db : DB) ->
let%lwt comments_or_error = Db.collect_list query () in
Expand Down

0 comments on commit 204a792

Please sign in to comment.