]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_interpreter/mQIMySql.mli
now database interfaces are more abstract
[helm.git] / helm / ocaml / mathql_interpreter / mQIMySql.mli
index 8fa7acc3b0bc33f3df32bd550c90841b7f8db06a..c0102090ae14c0d026b979c16347332753c1e8e4 100644 (file)
 (*  AUTOR: Ferruccio Guidi <fguidi@cs.unibo.it>
  *)
 
-type connection
+val init  : unit -> Mysql.dbd
 
-val init  : string -> connection option
+val close : Mysql.dbd -> unit
 
-val close : connection option -> unit
-
-val exec  : connection option -> string -> string list list
-
-val quote : string -> string
+val exec  : Mysql.dbd -> 
+            MQITypes.table -> MQITypes.columns ->
+            string MQITypes.con_true -> string MQITypes.con_false -> 
+           MQITypes.result * MQITypes.query