Structs§
- MDB_
cursor - MDB_env
- MDB_
envinfo - @brief Information about the environment
- MDB_
stat - @brief Statistics for a database in the environment
- MDB_txn
- MDB_val
- @brief Generic structure used for passing keys and data in and out of the database.
Constants§
- MDB_
APPEND - MDB_
APPENDDUP - MDB_
BAD_ DBI - MDB_
BAD_ RSLOT - MDB_
BAD_ TXN - MDB_
BAD_ VALSIZE - MDB_
CORRUPTED - MDB_
CP_ COMPACT - MDB_
CREATE - MDB_
CURRENT - MDB_
CURSOR_ FULL - MDB_
DBS_ FULL - MDB_
DUPFIXED - MDB_
DUPSORT - MDB_
FIRST - < Position at first key/data item
- MDB_
FIRST_ DUP - < Position at first data item of current key. Only for #MDB_DUPSORT
- MDB_
FIXEDMAP - MDB_
GET_ BOTH - < Position at key/data pair. Only for #MDB_DUPSORT
- MDB_
GET_ BOTH_ RANGE - < position at key, nearest data. Only for #MDB_DUPSORT
- MDB_
GET_ CURRENT - < Return key/data at current cursor position
- MDB_
GET_ MULTIPLE - < Return up to a page of duplicate data items from current cursor position. Move cursor to prepare for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED
- MDB_
INCOMPATIBLE - MDB_
INTEGERDUP - MDB_
INTEGERKEY - MDB_
INVALID - MDB_
KEYEXIST - MDB_
LAST - < Position at last key/data item
- MDB_
LAST_ DUP - < Position at last data item of current key. Only for #MDB_DUPSORT
- MDB_
LAST_ ERRCODE - MDB_
MAPASYNC - MDB_
MAP_ FULL - MDB_
MAP_ RESIZED - MDB_
MULTIPLE - MDB_
NEXT - < Position at next data item
- MDB_
NEXT_ DUP - < Position at next data item of current key. Only for #MDB_DUPSORT
- MDB_
NEXT_ MULTIPLE - < Return up to a page of duplicate data items from next cursor position. Move cursor to prepare for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED
- MDB_
NEXT_ NODUP - < Position at first data item of next key
- MDB_
NODUPDATA - MDB_
NOLOCK - MDB_
NOMEMINIT - MDB_
NOMETASYNC - MDB_
NOOVERWRITE - MDB_
NORDAHEAD - MDB_
NOSUBDIR - MDB_
NOSYNC - MDB_
NOTFOUND - MDB_
NOTLS - MDB_
PAGE_ FULL - MDB_
PAGE_ NOTFOUND - MDB_
PANIC - MDB_
PREV - < Position at previous data item
- MDB_
PREV_ DUP - < Position at previous data item of current key. Only for #MDB_DUPSORT
- MDB_
PREV_ MULTIPLE - < Position at previous page and return up to a page of duplicate data items. Only for #MDB_DUPFIXED
- MDB_
PREV_ NODUP - < Position at last data item of previous key
- MDB_
RDONLY - MDB_
READERS_ FULL - MDB_
RESERVE - MDB_
REVERSEDUP - MDB_
REVERSEKEY - MDB_SET
- < Position at specified key
- MDB_
SET_ KEY - < Position at specified key, return key + data
- MDB_
SET_ RANGE - < Position at first key greater than or equal to specified key.
- MDB_
SUCCESS - MDB_
TLS_ FULL - MDB_
TXN_ FULL - MDB_
VERSION_ DATE - MDB_
VERSION_ MAJOR - MDB_
VERSION_ MINOR - MDB_
VERSION_ MISMATCH - MDB_
VERSION_ PATCH - MDB_
WRITEMAP
Functions§
- mdb_cmp⚠
- @brief Compare two data items according to a particular database.
- mdb_
cursor_ ⚠close - @brief Close a cursor handle.
- mdb_
cursor_ ⚠count - @brief Return count of duplicates for current key.
- mdb_
cursor_ ⚠dbi - @brief Return the cursor’s database handle.
- mdb_
cursor_ ⚠del - @brief Delete current key/data pair
- mdb_
cursor_ ⚠get - @brief Retrieve by cursor.
- mdb_
cursor_ ⚠open - @brief Create a cursor handle.
- mdb_
cursor_ ⚠put - @brief Store by cursor.
- mdb_
cursor_ ⚠renew - @brief Renew a cursor handle.
- mdb_
cursor_ ⚠txn - @brief Return the cursor’s transaction handle.
- mdb_
dbi_ ⚠close - @brief Close a database handle. Normally unnecessary. Use with care:
- mdb_
dbi_ ⚠flags - @brief Retrieve the DB flags for a database handle.
- mdb_
dbi_ ⚠open - @brief Open a database in the environment.
- mdb_
dcmp ⚠ - @brief Compare two data items according to a particular database.
- mdb_del⚠
- @brief Delete items from a database.
- mdb_
drop ⚠ - @brief Empty or delete+close a database.
- mdb_
env_ ⚠close - @brief Close the environment and release the memory map.
- mdb_
env_ ⚠copy - @brief Copy an LMDB environment to the specified path.
- mdb_
env_ ⚠copy2 - @brief Copy an LMDB environment to the specified path, with options.
- mdb_
env_ ⚠copyfd - @brief Copy an LMDB environment to the specified file descriptor.
- mdb_
env_ ⚠copyfd2 - @brief Copy an LMDB environment to the specified file descriptor, with options.
- mdb_
env_ ⚠create - @brief Create an LMDB environment handle.
- mdb_
env_ ⚠get_ fd - @brief Return the filedescriptor for the given environment.
- mdb_
env_ ⚠get_ flags - @brief Get environment flags.
- mdb_
env_ ⚠get_ maxkeysize - @brief Get the maximum size of keys and #MDB_DUPSORT data we can write.
- mdb_
env_ ⚠get_ maxreaders - @brief Get the maximum number of threads/reader slots for the environment.
- mdb_
env_ ⚠get_ path - @brief Return the path that was used in #mdb_env_open().
- mdb_
env_ ⚠get_ userctx - @brief Get the application information associated with the #MDB_env.
- mdb_
env_ ⚠info - @brief Return information about the LMDB environment.
- mdb_
env_ ⚠open - @brief Open an environment handle.
- mdb_
env_ ⚠set_ assert - Set or reset the assert() callback of the environment. Disabled if liblmdb is buillt with NDEBUG. @note This hack should become obsolete as lmdb’s error handling matures. @param[in] env An environment handle returned by #mdb_env_create(). @param[in] func An #MDB_assert_func function, or 0. @return A non-zero error value on failure and 0 on success.
- mdb_
env_ ⚠set_ flags - @brief Set environment flags.
- mdb_
env_ ⚠set_ mapsize - @brief Set the size of the memory map to use for this environment.
- mdb_
env_ ⚠set_ maxdbs - @brief Set the maximum number of named databases for the environment.
- mdb_
env_ ⚠set_ maxreaders - @brief Set the maximum number of threads/reader slots for the environment.
- mdb_
env_ ⚠set_ userctx - @brief Set application information associated with the #MDB_env.
- mdb_
env_ ⚠stat - @brief Return statistics about the LMDB environment.
- mdb_
env_ ⚠sync - @brief Flush the data buffers to disk.
- mdb_get⚠
- @brief Get items from a database.
- mdb_put⚠
- @brief Store items into a database.
- mdb_
reader_ ⚠check - @brief Check for stale entries in the reader lock table.
- mdb_
reader_ ⚠list - @brief Dump the entries in the reader lock table.
- mdb_
set_ ⚠compare - @brief Set a custom key comparison function for a database.
- mdb_
set_ ⚠dupsort - @brief Set a custom data comparison function for a #MDB_DUPSORT database.
- mdb_
set_ ⚠relctx - @brief Set a context pointer for a #MDB_FIXEDMAP database’s relocation function.
- mdb_
set_ ⚠relfunc - @brief Set a relocation function for a #MDB_FIXEDMAP database.
- mdb_
stat ⚠ - @brief Retrieve statistics for a database.
- mdb_
strerror ⚠ - @brief Return a string describing a given error code.
- mdb_
txn_ ⚠abort - @brief Abandon all the operations of the transaction instead of saving them.
- mdb_
txn_ ⚠begin - @brief Create a transaction for use with the environment.
- mdb_
txn_ ⚠commit - @brief Commit all the operations of a transaction into the database.
- mdb_
txn_ ⚠env - @brief Returns the transaction’s #MDB_env
- mdb_
txn_ ⚠id - @brief Return the transaction’s ID.
- mdb_
txn_ ⚠renew - @brief Renew a read-only transaction.
- mdb_
txn_ ⚠reset - @brief Reset a read-only transaction.
- mdb_
version ⚠ - @brief Return the LMDB library version information.
Type Aliases§
- MDB_
assert_ func - @brief A callback function for most LMDB assert() failures, called before printing the message and aborting.
- MDB_
cmp_ func - @brief A callback function used to compare two keys in a database
- MDB_
cursor_ op - @brief Cursor Get operations.
- MDB_dbi
- @brief A handle for an individual database in the DB environment.
- MDB_
msg_ func - @brief A callback function used to print a message from the library.
- MDB_
rel_ func - @brief A callback function used to relocate a position-dependent data item in a fixed-address database.
- mdb_
filehandle_ t - mdb_
mode_ t