Module Lmdb_bindings.PutFlags
include Flags
val (+) : t -> t -> ta + bis the union of flag setsaandb. This corresponds to a bitwise or on C bitfields.
val (*) : t -> t -> ta * bis the intersection of flag sets a and b. This corresponds to a bitwise and on C bitfields.
val test : t -> t -> booltest a bistrueonly ifais a subset ofb. This corresponds toa & b == afor C bitfields.
val unset : t -> t -> tunset a bremoves flagsafrom flag setb. This corresponds toa & ~bfor C bitfields.
val none : tnoneThe empty set of flags.
val no_overwrite : tRaise
Existsif the key already exists no matter whether the map supports duplicates.
val no_dup_data : tOnly for maps supporting duplicates: Don't add the value to an already existing key if this value is already part of this key.
val append : tAdd a key that is greater than any existing key. Used to efficiently add sorted data.
val append_dup : tAdd value to key that is greater than any existing value of this key. Used to efficiently add sorted values to a key.