Skip to main content

last_value

Function last_value 

Source
pub fn last_value<'a, V, E>(expr: E) -> WindowFnExpr<'a, V, E::SQLType, Null>
where V: SQLParam + 'a, E: Expr<'a, V>,
Expand description

LAST_VALUE(expr) — value of expr from the last row of the frame.

Always nullable (frame boundaries affect result).