Skip to main content

Module db

Module db 

Source
Expand description

Database handle for mongreldb-kit.

Structs§

ApproxAggregate
A reservoir-sampled approximate aggregate with a normal-theory confidence interval. ci_low/ci_high bracket point at the requested z-score; the interval collapses to zero width when the sample covers the whole table.
Database
A kit database handle.
ExplainPlan
The result of Database::explain: a static description of a predicate’s index push-down, without running the query.
IncrementalAggregate
The result of Database::incremental_aggregate.
SimilarRow
A row paired with its Jaccard set-similarity to a query set (0.0..=1.0).

Enums§

ApproxAggKind
Which approximate aggregate to estimate from the reservoir sample.
IncrementalAggKind
Which aggregate to maintain incrementally.

Type Aliases§

DefaultProvider
A named default-value provider registered by the application.