enum LMDB::Database::Flag

Defined in:

lmdb/database.cr

Enum 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

Instance Method Detail

def create? #

[View source]
def dup_fixed? #

[View source]
def dup_sort? #

[View source]
def integer_dup? #

[View source]
def integer_key? #

[View source]
def none? #

[View source]
def reverse_dup? #

[View source]
def reverse_key? #

[View source]