]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/metadataDb.mli
no longer use Dbi module but directly use Mysql module since it's 13
[helm.git] / helm / ocaml / metadata / metadataDb.mli
index 074ff721443aaf8e45eb31555608d7c512351123..a1d7404bbe2acb7bb1a50282a640083dd3904891 100644 (file)
  *)
 
   (** index a Cic.Constant object and insert resulting metadata into the db
-  * PRE_EVAL(dbh) *)
+  * PRE_EVAL(dbd) *)
 val index_constant:
-  dbh:Dbi.connection ->
+  dbd:Mysql.dbd ->
   owner:string ->
   uri:UriManager.uri -> body:Cic.term option -> ty:Cic.term ->
     unit
 
   (** index a Cic.InductiveDefinition object and insert resulting metadata into
   * the db
-  * PRE_EVAL(dbh) *)
+  * PRE_EVAL(dbd) *)
 val index_inductive_def:
-  dbh:Dbi.connection ->
+  dbd:Mysql.dbd ->
   owner:string ->
   uri:UriManager.uri -> types:Cic.inductiveType list ->
     unit
@@ -43,5 +43,5 @@ val index_inductive_def:
 (* TODO Zack indexing of variables and (perhaps?) incomplete proofs *)
 
   (** remove from the db all metadata pertaining to a given owner *)
-val clean: dbh:Dbi.connection -> owner:string -> unit
+val clean: dbd:Mysql.dbd -> owner:string -> unit