X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIPostgres.mli;h=cbbf3929dbdddde9d77ac522a1db6fd1b5d86b14;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=d6b9d3f33f6eab69bfa54eeeda8d2bde2437bd4e;hpb=91db309a46f8b6f100a36abbc568deec10a8d1df;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mQIPostgres.mli b/helm/ocaml/mathql_interpreter/mQIPostgres.mli index d6b9d3f33..cbbf3929d 100644 --- a/helm/ocaml/mathql_interpreter/mQIPostgres.mli +++ b/helm/ocaml/mathql_interpreter/mQIPostgres.mli @@ -23,10 +23,14 @@ * http://cs.unibo.it/helm/. *) -val init : unit -> Postgres.connection option +(* AUTOR: Ferruccio Guidi + *) -val close : Postgres.connection option -> unit +val init : unit -> Postgres.connection -val exec : Postgres.connection option -> string -> string list list +val close : Postgres.connection -> unit -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