This is a comprehensive C++ wrapper for the LMDB embedded database library, offering both an error-checked procedural interface and an object-oriented resource interface with RAII semantics.

• Designed to be entirely self-contained as a single <lmdb++.h> header file that can be dropped into a project.
• Implements a straightforward mapping from C to C++, with consistent naming.
• Provides both a procedural interface and an object-oriented RAII interface.
• Simplifies error handling by translating error codes into C++ exceptions.
• Carefully differentiates logic errors, runtime errors, and fatal errors.
• Exception strings include the name of the LMDB function that failed.
• Plays nice with others: all symbols are placed into the lmdb namespace.
• 100% free and unencumbered public domain software, usable in any context and for any purpose.

Features

  • C++
  • C++11
  • B+ tree
  • ACID
  • MVCC

Project Activity

See All Activity >

License

Public Domain

Follow lmdb++

lmdb++ Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free

Additional Project Details

Operating Systems

BSD, Linux

Intended Audience

Developers, Information Technology

Programming Language

C++

Database Environment

Other file-based DBMS

Related Categories

C++ Database Engines Servers, C++ Libraries

Registered

2015-04-08