X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIPostgres.mli;h=cbbf3929dbdddde9d77ac522a1db6fd1b5d86b14;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=8fa7acc3b0bc33f3df32bd550c90841b7f8db06a;hpb=b5503c72c5560e8da3337e99bf058f0caab350e8;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mQIPostgres.mli b/helm/ocaml/mathql_interpreter/mQIPostgres.mli index 8fa7acc3b..cbbf3929d 100644 --- a/helm/ocaml/mathql_interpreter/mQIPostgres.mli +++ b/helm/ocaml/mathql_interpreter/mQIPostgres.mli @@ -26,12 +26,11 @@ (* AUTOR: Ferruccio Guidi *) -type connection +val init : unit -> Postgres.connection -val init : string -> connection option +val close : Postgres.connection -> unit -val close : connection option -> unit - -val exec : connection option -> string -> string list list - -val quote : string -> string +val exec : Postgres.connection * (MQITypes.query -> unit) -> + MQITypes.table -> MQITypes.columns -> + string MQITypes.con_true -> string MQITypes.con_false -> + MQITypes.result