Lens
Lens
A Strand-backed copy-on-write B-tree with reads, single-operation batches and process-local snapshots.
Lens stores B-tree nodes in a Strand and publishes root metadata through its authoritative metadata path. It exposes byte-key operations, range streams and prefix subdatabases. Multi-operation atomic batches are explicitly rejected. Snapshot handles are held in memory. Compaction settings in the config do not establish an implemented automatic compactor.
| Package | Rust import | Source |
|---|---|---|
weave-lens | lens | models/lens |
Guides
- Key Value Operations
- Batching
- Iteration
- Snapshots and Sub Databases
- Cache and Compaction
- weave-lens API
Reference and verification
Manifest, features and declared API. Behavior on these pages was checked against current implementation bodies and SDK wrappers. It is not a claim of compiled examples, runtime testing, registry publication or deployed availability.