Skip to main content

Module aggregation_sql

Module aggregation_sql 

Source

Functions§

criteria_predicate
The criteria as a parenthesised predicate, or None when absent/blank.
destination_table_name
Schema-qualifies an aggregation’s destination table with the source table’s schema when the XML names it bare; a name that already contains a . is used as written.
row_value
The value a source row contributes to an aggregation column: a count contributes 1 per row, a sum contributes the (null-as-zero) source column.
watched_columns
Source columns whose change can alter an aggregation’s contribution, or None when that can’t be known (the free-form criteria may read any column), in which case an update must always be re-aggregated. A group’s sourceDerivedFrom names the column its (possibly expression-valued) source is derived from.