module DB: sig
.. end
type
t = {
|
nocol : (string, string) Hashtbl.t ; |
|
cols : (string, (string, string) Hashtbl.t) Hashtbl.t ; |
}
val load : 'a -> (t, 'b) Pvem_lwt_unix.Deferred_result.t
val close : 'a -> (unit, 'b) Pvem_lwt_unix.Deferred_result.t
val get_collection : t -> string option -> (string, string) Hashtbl.t
val get : ?collection:string ->
t ->
key:string -> (string option, 'a) Pvem_lwt_unix.Deferred_result.t
val get_all : t ->
collection:string -> (string list, 'a) Pvem_lwt_unix.Deferred_result.t
val iterator : t ->
collection:string ->
unit -> (string option, 'a) Pvem_lwt_unix.Deferred_result.t
val act : t ->
action:Trakeva.Action.t ->
([> `Done | `Not_done ], 'a) Pvem_lwt_unix.Deferred_result.t