Skip to content

Restore zero-based indexed#214

Merged
shane-circuithub merged 1 commit intomasterfrom
indexed-zero
Nov 2, 2022
Merged

Restore zero-based indexed#214
shane-circuithub merged 1 commit intomasterfrom
indexed-zero

Conversation

@shane-circuithub
Copy link
Copy Markdown
Contributor

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.

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.
@shane-circuithub shane-circuithub merged commit 36c2b1e into master Nov 2, 2022
@shane-circuithub shane-circuithub deleted the indexed-zero branch November 2, 2022 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant