Expand description
Query engine for RouchDB — Mango selectors and map/reduce views.
Provides two query mechanisms:
-
Mango queries — CouchDB-compatible selector-based document matching with field projection, sorting, and pagination.
-
Map/reduce views — Temporary (ad-hoc) views using Rust closures with built-in reduce functions (sum, count, stats) and custom reducers. Mango query engine — CouchDB-compatible selector-based document queries.
Supports the standard Mango operators: $eq, $ne, $gt, $gte, $lt,
$lte, $in, $nin, $exists, $regex, $elemMatch, $all, $size,
$or, $and, $not, $nor, $mod, $type.
Structs§
- Find
Options - Options for a Mango find query.
- Find
Response - Result of a find query.
Enums§
- Sort
Field - A single sort field with direction.
Functions§
- find
- Execute a Mango find query against an adapter.
- matches_
selector - Check if a document matches a Mango selector.