pub trait ConditionalAggregates: Dialect {
// Provided method
fn aggregate_filter(
b: &mut Builder<Self>,
aggregate: &str,
column: Option<&str>,
condition: &str,
alias: &str,
) -> Result<String> { ... }
}Expand description
COUNT(CASE WHEN ... THEN 1 END) and the other conditional aggregates.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".