Trait rusqlite::functions::WindowAggregate [−][src]
pub trait WindowAggregate<A, T>: Aggregate<A, T> where
A: RefUnwindSafe + UnwindSafe,
T: ToSql, {
fn value(&self, _: Option<&A>) -> Result<T>;
fn inverse(&self, _: &mut Context<'_>, _: &mut A) -> Result<()>;
}
Expand description
feature = "window"
WindowAggregate is the callback interface for
user-defined aggregate window function.
Required methods
Returns the current value of the aggregate. Unlike xFinal, the implementation should not delete any context.