enum
LMDB::Database::Flag
Defined in:
lmdb/database.crEnum Members
-
ReverseKey =
2 -
Assume keys are string to be compared in reverse order (from end to beginning)
-
DupSort =
4 -
Keys are allowed to be associated with multiple data items, which are stored in a sorted fashion.
-
IntegerKey =
8 -
Keys are binary integers in native byte order and sorted as such, all key must be of the same size.
-
DupFixed =
16 -
Multiple data items are all the same size
-
IntegerDup =
32 -
Duplicate data items are binary integers
-
ReverseDup =
64 -
Duplicate data items are compared in reverse order.
-
Create =
262144 -
Create the database if id doesn't exist.
-
None =
0 -
All =
262270
Instance Method Summary
-
#create?
Returns
trueif this enum value containsCreate -
#dup_fixed?
Returns
trueif this enum value containsDupFixed -
#dup_sort?
Returns
trueif this enum value containsDupSort -
#integer_dup?
Returns
trueif this enum value containsIntegerDup -
#integer_key?
Returns
trueif this enum value containsIntegerKey - #none?
-
#reverse_dup?
Returns
trueif this enum value containsReverseDup -
#reverse_key?
Returns
trueif this enum value containsReverseKey