X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIPostgres.mli;h=cbbf3929dbdddde9d77ac522a1db6fd1b5d86b14;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=8acd2a2fd97d039710e31f27dafbaaaeb63c7081;hpb=931f10c61b4e3914474955a94a05cf43b5fa2bc0;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mQIPostgres.mli b/helm/ocaml/mathql_interpreter/mQIPostgres.mli index 8acd2a2fd..cbbf3929d 100644 --- a/helm/ocaml/mathql_interpreter/mQIPostgres.mli +++ b/helm/ocaml/mathql_interpreter/mQIPostgres.mli @@ -26,10 +26,11 @@ (* AUTOR: Ferruccio Guidi *) -val init : unit -> Postgres.connection option +val init : unit -> Postgres.connection -val close : Postgres.connection option -> unit +val close : Postgres.connection -> unit -val exec : Postgres.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