Module Rocksdb.Database

type t = {
uuid : Uuid.Stable.V1.t;
db : Rocks.t;
}
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : string -> t
val create_checkpoint : t -> string -> t
val make_checkpoint : t -> string -> unit
val get_uuid : t -> Uuid.Stable.V1.t
val close : t -> unit
val get : t -> key:Core.Bigstring.t -> Core.Bigstring.t option
val get_batch : t -> keys:Core.Bigstring.t list -> Core.Bigstring.t option list
val set : t -> key:Core.Bigstring.t -> data:Core.Bigstring.t -> unit
val set_batch : t -> ?remove_keys:Rocks.bigarray list -> key_data_pairs:(Core.Bigstring.t * Core.Bigstring.t) list -> unit
module Batch : sig ... end
val copy : 'a -> 'b
val remove : t -> key:Core.Bigstring.t -> unit
val to_alist : t -> (Core.Bigstring.t * Core.Bigstring.t) list
val to_bigstring : ?pos:Base.int -> ?len:Base.int -> Base.string -> Core.Bigstring.t