LMDB
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Write Flags
LMDB API

Macros

#define MDB_NOOVERWRITE   0x10
 
#define MDB_NODUPDATA   0x20
 
#define MDB_CURRENT   0x40
 
#define MDB_RESERVE   0x10000
 
#define MDB_APPEND   0x20000
 
#define MDB_APPENDDUP   0x40000
 
#define MDB_MULTIPLE   0x80000
 

Detailed Description

Macro Definition Documentation

#define MDB_NOOVERWRITE   0x10

For put: Don't write if the key already exists.

#define MDB_NODUPDATA   0x20

Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist.
For mdb_cursor_del: remove all duplicate data items.

#define MDB_CURRENT   0x40

For mdb_cursor_put: overwrite the current key/data pair

#define MDB_RESERVE   0x10000

For put: Just reserve space for data, don't copy it. Return a pointer to the reserved space.

#define MDB_APPEND   0x20000

Data is being appended, don't split full pages.

#define MDB_APPENDDUP   0x40000

Duplicate data is being appended, don't split full pages.

#define MDB_MULTIPLE   0x80000

Store multiple data items in one call. Only for MDB_DUPFIXED.