Electroneum
Write Flags
Collaboration diagram for Write Flags:

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

◆ MDB_APPEND

#define MDB_APPEND   0x20000

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

Definition at line 377 of file lmdb.h.

◆ MDB_APPENDDUP

#define MDB_APPENDDUP   0x40000

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

Definition at line 379 of file lmdb.h.

◆ MDB_CURRENT

#define MDB_CURRENT   0x40

For mdb_cursor_put: overwrite the current key/data pair

Definition at line 371 of file lmdb.h.

◆ MDB_MULTIPLE

#define MDB_MULTIPLE   0x80000

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

Definition at line 381 of file lmdb.h.

◆ MDB_NODUPDATA

#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.

Definition at line 369 of file lmdb.h.

◆ MDB_NOOVERWRITE

#define MDB_NOOVERWRITE   0x10

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

Definition at line 364 of file lmdb.h.

◆ MDB_RESERVE

#define MDB_RESERVE   0x10000

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

Definition at line 375 of file lmdb.h.