Module lmdb_zero::db
[−]
[src]
Flags used when opening databases.
Structs
Flags |
Flags used when opening databases. |
Constants
CREATE |
Create the named database if it doesn't exist. This option is not allowed in a read-only environment. |
DUPFIXED |
This flag may only be used in combination with |
DUPSORT |
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. |
INTEGERDUP |
This option specifies that duplicate data items are binary
integers, similar to |
INTEGERKEY |
Keys are binary integers in native byte order, either
|
REVERSEDUP |
This option specifies that duplicate data items should be compared as strings in reverse order. |
REVERSEKEY |
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. |