In #182 we introduced window functions, and also refactored indexed to use the new window function support via rowNumber.
However, previously indexed was zero-based, whereas PostgreSQL's row_number() function counts from one, so this change silently changed the behaviour of indexed.
In #182 we introduced window functions, and also refactored
indexed
to use the new window function support viarowNumber
.However, previously
indexed
was zero-based, whereas PostgreSQL'srow_number()
function counts from one, so this change silently changed the behaviour ofindexed
.This commit restores the previous behaviour.