Lmdb::Flags::Database
Inherits Enum / Comparable / Value / Object
Constants
REVERSE_KEY = 2_u32
* Keys are strings to be compared in reverse order, from the end
-
of the strings to the beginning. By default, Keys are treated as strings and -
compared from beginning to end.
DUP_SORT = 4_u32
-
Duplicate keys may be used in the database. (Or, from another perspective, -
keys may have multiple data items, stored in sorted order.) By default -
keys must be unique and may have only a single data item.
INTEGER_KEY = 8_u32
-
Keys are binary integers in native byte order, either unsigned int -
or size_t, and will be sorted as such. -
The keys must all be of the same size.
DUP_FIXED = 16_u32
-
This flag may only be used in combination with #MDB_DUPSORT. This option -
tells the library that the data items for this database are all the same -
size, which allows further optimizations in storage and retrieval. When -
all data items are the same size, the #MDB_GET_MULTIPLE and #MDB_NEXT_MULTIPLE -
cursor operations may be used to retrieve multiple items at once.
INTEGER_DUP = 32_u32
-
This option specifies that duplicate data items are binary integers, -
similar to #MDB_INTEGERKEY keys.
REVERSE_DUP = 64_u32
-
This option specifies that duplicate data items should be compared as -
strings in reverse order.
CREATE = 262144_u32
-
Create the named database if it doesn't exist. This option is not -
allowed in a read-only transaction or a read-only environment.
None = 0_u32
All = 262270_u32
Instance methods
none?
Source