package leveldb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Read-only access to databases and snapshots. * Note that the functions that accept a key will copy its contents to the * stack, so exceedingly large keys could cause a stack overflow.

val get : read_access -> string -> string option
val get_exn : read_access -> string -> string
val mem : read_access -> string -> bool
val iterator : read_access -> iterator
val iter : (string -> string -> bool) -> read_access -> unit

Refer to Iterator.iter.

val rev_iter : (string -> string -> bool) -> read_access -> unit
val iter_from : (string -> string -> bool) -> read_access -> string -> unit
val rev_iter_from : (string -> string -> bool) -> read_access -> string -> unit