Expand description
Map/reduce view engine.
Users define views by providing map functions (Rust closures) and optional reduce functions. The engine runs the map over all documents and collects key-value pairs, then optionally reduces them.
Structs§
- Emitted
Row - A key-value pair emitted by a map function.
- View
Query Options - Options for querying a view.
- View
Result - Result of querying a view.
- ViewRow
- A single row in a view result.
Enums§
- Reduce
Fn - Built-in reduce functions matching CouchDB’s built-ins.
- Stale
Option - Controls whether the index is rebuilt before querying.
Functions§
- query_
view - Run a temporary (ad-hoc) map/reduce query.