PartitionRanking
Opts a WindowFunction into whole-partition evaluation. Ranking derives from a row's position among its peers, which apply() cannot answer without rescanning the partition per row.
Methods
- rankPartition() : array<int, int>
- One value per partition row, in partition order. The partition is already sorted by the window's ORDER BY.
Methods
rankPartition()
One value per partition row, in partition order. The partition is already sorted by the window's ORDER BY.
public
rankPartition(Rows $partition) : array<int, int>
Parameters
- $partition : Rows