Skip to main content

NUMERIC_AGGREGATES

Constant NUMERIC_AGGREGATES 

Source
pub const NUMERIC_AGGREGATES: &[(&str, Returns)];
Expand description

Aggregates over numbers, and the GraphQL type each returns.

PostgreSQL widens sum and keeps the column’s own scale, while the statistical functions all return double precision whatever they were given.