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.
Fill the gaps in docs/sql-reference that were still stale after the 0.7
release. Verified every claim against the v0.7.0 source (COMPAT.md,
core/function.rs, the parser AST, and cli/).
- window: row_number() and FILTER (WHERE ...) are supported now
- scalar: add unistr, unistr_quote, turso_version()
- vector: add vector32_sparse; note the experimental sparse vector index
- transactions: document SAVEPOINT / RELEASE / ROLLBACK TO
- add REINDEX statement page
- create-trigger: drop the experimental banner (triggers are stable);
mark INSTEAD OF as not yet supported
- create-table: reclassify WITHOUT ROWID and GENERATED as experimental
flags; note locale/custom collations
- create-index: document COLLATE and link REINDEX
- select: correct the window ranking note (row_number available)
- experimental-features: triggers are no longer experimental; add
generated_columns, without_rowid, mvcc_passive_checkpoint
- extensions: document the crypto, fuzzy, and ipaddr extensions
- pragmas: add data_sync_retry, require_where/i_am_a_dummy,
mvcc_checkpoint_threshold, mvcc_gc_threshold
- cli: drop --experimental-triggers; add the new experimental flags
Comprehensive SQL reference at docs/sql-reference/ covering all
supported statements, functions, expressions, PRAGMAs, and
extensions. Includes mdBook-based local preview (./preview.sh).
Turso-specific features (CDC, materialized views, custom types,
MVCC, vector search, FTS, encryption) are integrated inline with
callouts. Experimental features link to a dedicated page with
enablement instructions for the CLI and all SDKs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>