khonsulabs / bonsaidb

A developer-friendly document database that grows with you, written in Rust
https://bonsaidb.io/
Apache License 2.0
1.02k stars 37 forks source link

Allow opt-in always-updated views #208

Closed ecton closed 2 years ago

ecton commented 2 years ago

For some workloads, it might be better to allow a view to always be mapped rather than the default lazy evaluation. Unique views already follow this process, but there's no reason this couldn't be extended to any arbitrary view.