Skip to main content

Module query

Module query 

Source
Expand description

Backend-neutral analytical query plans and the typed builder schemas use to produce them. The builder closure runs once against typed field proxies; only the resulting serde AST crosses the schema/engine boundary.

Structs§

BindingDecl
ColumnFormat
Declarative column formatting — serializable AST data the gate can check and every face renders identically. Thousands grouping uses a SPACE (29 669 069.38): the KB-wide convention.
ColumnHandle
Fluent formatting on the just-declared column: q.sum("total budget", &f).money("R ").
FieldExpr
A typed reference to one field. T makes incompatible comparisons fail in Rust before a plan can be emitted; serde sees only the contained FieldRef.
FieldRef
OutputColumn
QueryBuilder
Builder used inside a schema crate. It is deliberately stateful: the closure describes one plan, then finish() returns plain serializable data.
QueryDecl
QueryOrder

Enums§

AggregateOp
BindingSource
BoolExpr
CompareOp
EdgeDirection
ScalarExpr
SortDirection
TypedLiteral

Traits§

QueryLiteral
QueryModel
A schema model that can produce a typed proxy for one query binding. Implementations are normally generated alongside the registry declaration.

Functions§

query