logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mdb_dbi_open - Database Flags

Author

       Generated automatically by Doxygen for LMDB from the source code.

                                                      LMDB                                       mdb_dbi_open(3)

Detailed Description

Macro Definition Documentation

#defineMDB_REVERSEKEY0x02
       use reverse string keys

   #defineMDB_DUPSORT0x04
       use sorted duplicates

   #defineMDB_INTEGERKEY0x08
       numeric keys in native byte order: either unsigned int or size_t. The keys must all be of the same size.

   #defineMDB_DUPFIXED0x10
       with MDB_DUPSORT, sorted dup items have fixed size

   #defineMDB_INTEGERDUP0x20
       with MDB_DUPSORT, dups are MDB_INTEGERKEY-style integers

   #defineMDB_REVERSEDUP0x40
       with MDB_DUPSORT, use reverse string dups

   #defineMDB_CREATE0x40000
       create DB if not already existing

Name

       mdb_dbi_open - Database Flags

Synopsis

Macros
       #define MDB_REVERSEKEY   0x02
       #define MDB_DUPSORT   0x04
       #define MDB_INTEGERKEY   0x08
       #define MDB_DUPFIXED   0x10
       #define MDB_INTEGERDUP   0x20
       #define MDB_REVERSEDUP   0x40
       #define MDB_CREATE   0x40000

See Also