]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_interpreter/mQIPostgres.mli
\Assign and \subst to match the parser.
[helm.git] / helm / ocaml / mathql_interpreter / mQIPostgres.mli
index 342c91eaa551e9c50a54e25ea774e6f1922aa85f..afc75b051084c71fd2ad7582ed0eb117b5acec44 100644 (file)
 (*  AUTOR: Ferruccio Guidi <fguidi@cs.unibo.it>
  *)
 
-val init  : string -> Postgres.connection option
+val init  : unit -> Postgres.connection
 
-val close : Postgres.connection option -> unit
+val close : Postgres.connection -> unit
+
+val exec  : Postgres.connection -> 
+            MQITypes.table -> MQITypes.columns ->
+           string MQITypes.con_true -> string MQITypes.con_false ->
+           MQITypes.result * MQITypes.query
 
-val exec  : Postgres.connection option -> string -> string list list
 
-val quote : string -> string