Skip to main content

compile_aggregate

Function compile_aggregate 

Source
pub fn compile_aggregate(
    dialect: Dialect,
    schema: &AppSchema,
    query: &AggregateQuery,
) -> Result<Statement, DatabaseError>
Expand description

Compiles one count, sum, minimum, or maximum over declared fields.