package leveldb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Error of string
type db
type iterator
type writebatch
type snapshot
type read_access
type comparator
type env
val destroy : string -> bool
val repair : string -> bool
val default_env : env
val lexicographic_comparator : comparator
val open_db : ?write_buffer_size:int -> ?max_open_files:int -> ?block_size:int -> ?block_restart_interval:int -> ?comparator:comparator -> ?cache_size:int -> ?env:env -> string -> db
val close : db -> unit
val read_access : db -> read_access
val iterator : db -> iterator
val get_approximate_size : db -> string -> string -> Int64.t
val get_property : db -> string -> string option
val compact_range : db -> from_key:string option -> to_key:string option -> unit
val get : db -> string -> string option
val get_exn : db -> string -> string
val mem : db -> string -> bool
val put : db -> ?sync:bool -> string -> string -> unit
val delete : db -> ?sync:bool -> string -> unit
val iter : (string -> string -> bool) -> db -> unit
val rev_iter : (string -> string -> bool) -> db -> unit
val iter_from : (string -> string -> bool) -> db -> string -> unit
val rev_iter_from : (string -> string -> bool) -> db -> string -> unit
module Batch : sig ... end
module Iterator : sig ... end
module Snapshot : sig ... end
module Read_access : sig ... end