enum
LMDB::PutFlags
Defined in:
lmdb/database.crEnum Members
-
NoDupData =
32 -
Store the record only if it does not appear in the database.
-
NoOverwrite =
16 -
Store the record only if the key does not already appear in the database. The data parameter will be set to point to the existing item.
-
Reserve =
65536 -
Reserve space for data, but don't store the given data. Returns a pointer to be fill later in the transaction.
-
Append =
131072 -
Store the record at the end of the database. Fast if keys are in the correct order.
-
AppendDup =
262144 -
As above, but for sorted duplicate data.
-
None =
0 -
All =
458800
Instance Method Summary
-
#append?
Returns
trueif this enum value containsAppend -
#append_dup?
Returns
trueif this enum value containsAppendDup -
#no_dup_data?
Returns
trueif this enum value containsNoDupData -
#no_overwrite?
Returns
trueif this enum value containsNoOverwrite - #none?
-
#reserve?
Returns
trueif this enum value containsReserve