Trait rusqlite::functions::WindowAggregate
source · pub trait WindowAggregate<A, T>: Aggregate<A, T>{
// Required methods
fn value(&self, acc: Option<&mut A>) -> Result<T>;
fn inverse(&self, ctx: &mut Context<'_>, acc: &mut A) -> Result<()>;
}
Available on crate features
functions
and window
only.Expand description
WindowAggregate
is the callback interface for
user-defined aggregate window function.