LMDB API Quick Start

Note

Status: This page is under development.

This guide covers the basics of using zlmdb’s low-level LMDB API for direct database access.

Overview

The low-level LMDB API provides:

  • Direct key-value storage operations

  • Full transaction control

  • Cursor-based iteration

  • py-lmdb compatibility

Coming Soon

This page will include:

  1. First Steps - Opening an environment - Creating databases - Basic put/get operations

  2. Working with Transactions - Read transactions - Write transactions - Context managers

  3. Iteration Basics - Using cursors - Forward and reverse iteration - Seeking to keys

  4. Complete Examples - Simple key-value store - Multi-database setup - Batch operations

See Also