package lmdb

  1. Overview
  2. Docs
include Flags
type t

The type of a set of flags

val (+) : t -> t -> t

a + b is the union of flag sets a and b. This corresponds to a bitwise or on C bitfields.

val (*) : t -> t -> t

a * b is the intersection of flag sets a and b. This corresponds to a bitwise and on C bitfields.

val test : t -> t -> bool

test a b is true only if a is a subset of b. This corresponds to a & b == a for C bitfields.

val unset : t -> t -> t

unset a b removes flags a from flag set b. This corresponds to a & ~b for C bitfields.

val eq : t -> t -> bool

eq a b The equals relation.

val of_int : int -> t
val to_int : t -> int
val none : t

none The empty set of flags.

val fixed_map : t
val no_subdir : t

Create the environment not in an existing directory, but create the data file with exactly the filename given to Env.create. The lock file will have "-lock" appended.

val no_sync : t
val read_only : t
val no_meta_sync : t
val write_map : t
val map_async : t
val no_tls : t
val no_lock : t
val no_read_ahead : t
val no_mem_init : t
OCaml

Innovation. Community. Security.