3 ms·
You can check it here: https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib I'm sorry for the
by Arkadir 12y ago
You can check it here: https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib I'm sorry for the state of the official site, there will be one soon.
A `Stream` corresponds to change events (I'm not sure these even had an official name in CouchDB).
A `Projection` corresponds to a design document.
The various `View` implementations are optimized for various aspects of CouchDB views, with `MapView` being the literal equivalent of a CouchDB view. Except they can be chained (you can apply a map to a map).
Unlike CouchDB, views are evaluated eagerly, though the `HardStuffCache` (and other planned `Cache` implementations) are evaluated lazily on a per-document basis.