enum

LMDB::Database::Flag

Inherits Enum / Comparable / Value / Object

Constants

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 methods

create?

Returns true if this enum value contains Create

Source
dup_fixed?

Returns true if this enum value contains DupFixed

Source
dup_sort?

Returns true if this enum value contains DupSort

Source
integer_dup?

Returns true if this enum value contains IntegerDup

Source
integer_key?

Returns true if this enum value contains IntegerKey

Source
none?
Source
reverse_dup?

Returns true if this enum value contains ReverseDup

Source
reverse_key?

Returns true if this enum value contains ReverseKey

Source