mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
Add nth_value(value, position), which returns the value at a chosen place in the ordered rows. Read the position again for every result row, as SQLite does. This lets the position change from row to row, even when rows have equal sort values. Check the position only when returning that row, so LIMIT and OFFSET handle errors the same way as SQLite. Reject whole-number decimals that are too large instead of letting rounding turn them into a valid position.