diff options
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)) |
