diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:22:50 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:22:50 +0100 |
| commit | bc78bea63b7c75e8a9d222dc86fb75ed293a2242 (patch) | |
| tree | 6c864df4d57200c20c7f712ada20a6111ca31538 /test/schema.ml | |
| parent | 9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da (diff) | |
Renamed the module Typ into Types
Diffstat (limited to 'test/schema.ml')
| -rw-r--r-- | test/schema.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/schema.ml b/test/schema.ml index 5fcd406..4323368 100644 --- a/test/schema.ml +++ b/test/schema.ml @@ -14,7 +14,8 @@ let ( let* ) = Lwt.bind let ( let+ ) opt cont = Result.map cont opt let schema_query = - Caqti.Templater.static Caqti.Templater.T.(string -->! string) + Caqti.Templater.static + Caqti.Templater.T.(string -->! string) "SELECT sql from sqlite_schema where name=?" let get_schema : Caqti_lwt.connection -> string -> string Lwt.t = @@ -28,4 +29,4 @@ let exec : string list -> t = let stdin = Common.read_stdin () in let+ configuration = Configuration.Read_conf.read_string_conf stdin in Common.with_db configuration (fun db -> - Lwt_list.map_s (get_schema db) (List.rev tables)) + Lwt_list.map_s (get_schema db) (List.rev tables)) |
