UnQLite is a self-contained, in-process database engine for C and C++ with ACID transactions, a portable single-file store, and optional JSON document access via Jx9.
Overview
UnQLite is an embedded NoSQL engine that runs inside your application without a separate server process or socket protocol. Data lives in one portable disk file (or in memory), and the format can be copied across CPU architectures and endianness.
The engine exposes two layers: a binary-safe key/value store for raw records and a document store built on the embedded Jx9 scripting language. Keys and values are byte arrays, so they can hold text, blobs, or file content. Transactional semantics apply to local storage workloads.
APIs cover key/value CRUD, cursor-based traversal, pluggable storage engines, foreign functions for Jx9, and a virtual file system abstraction. Integration is typically done by compiling the amalgamation sources into the host application, which keeps external dependencies minimal for desktop and embedded targets.
UnQLite is not a client/server database. Compared with separate-server NoSQL products, it emphasizes zero configuration, a single-file database, and a small embed-friendly surface area suited to restricted devices.
Key features
- In-process serverless engine
- ACID transactional storage
- Single cross-platform database file
- Binary-safe key/value APIs
- JSON document store via Jx9
- On-disk and in-memory modes
- Cursor APIs for traversal
- Amalgamation drop-in embedding
Use cases
- Embedded local data storage
- KV-only application persistence
- Document-oriented embedded apps
- Cross-platform portable databases