Skip to main content

window

Function window 

Source
pub const fn window<'a, V: SQLParam>() -> WindowSpec<'a, V>
Expand description

Starts an empty window specification (OVER ()).

An empty window covers the whole result set.

ยงExamples

let share = count::<Value, _>(()).over(window());
assert_eq!(share.sql(), "COUNT(*) OVER ()");