Skip to main content
Version: 0.12

win

The win module contains to get informations about the current window and groups in a windowed select statement

Functions

cardinality(str)

Returns the current cardinality of a group by statement. When used without a group by it will return zero (0).

use std::win;

select { "group#{group[0]}": win::cardinality() }
from in
group by each([1, 2, 3, 4, 5]) into out;

Returns a integer