Getting started
Install the embedded database:
LioranManager
LioranManager owns:
LioranDB
LioranDB represents a single database directory under the manager root.
Collection
A Collection stores JSON documents keyed by _id (string).
Query & update language
LioranDB’s embedded query engine supports:
Indexes & explain
Indexes are created per collection field and are persisted on disk.
Transactions
Transactions group multiple operations into a single commit.
Migrations
Migrations exist at two levels:
Snapshots & restore
Snapshots are created/restored by the LioranManager.
Compaction
Compaction rebuilds collection storage to remove fragmentation and then rebuilds indexes.
Encryption & key rotation
LioranDB encrypts documents at rest when an encryption key is configured.
IPC (multi-process)
LioranManager supports multiple process modes:
Limits & performance notes
Key limits
Storage paths
@liorandb/core uses a single “root folder” where all database directories are stored.