circuithub / rel8

Hey! Hey! Can u rel8?
https://rel8.readthedocs.io
Other
150 stars 38 forks source link

Restore zero-based `indexed` #214

Closed shane-circuithub closed 1 year ago

shane-circuithub commented 1 year ago

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.

This commit restores the previous behaviour.