Skip to main content

Module base

Module base 

Source

Structs§

Table

Constants§

EXPRESSION_COLUMN
Context key a failed expression callback’s error gains: the column whose callback failed.
EXPRESSION_TABLE
Context key a failed expression callback’s error gains: the table the column is on.

Type Aliases§

ExpressionFn
An expression closure stored on a table, against the entity-erased table so it survives Table::into_entity. It runs when a query that includes the column is built (Table::try_select), never when the table is; an error fails that query. See Table::with_expression and Table::with_try_expression.
LazyExpressionFn
A lazy-expression callback stored on a table: runs on each returned record and sees the columns earlier callbacks produced. See Table::with_lazy_expression.