Skip to main content

Module mapreduce

Module mapreduce 

Source
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§

EmittedRow
A key-value pair emitted by a map function.
ViewQueryOptions
Options for querying a view.
ViewResult
Result of querying a view.
ViewRow
A single row in a view result.

Enums§

ReduceFn
Built-in reduce functions matching CouchDB’s built-ins.

Functions§

query_view
Run a temporary (ad-hoc) map/reduce query.