6 Commits

Author SHA1 Message Date
Avinash Sajjanshetty
fed0c30814 vacuum: expose experimental plain vacuum 2026-04-27 21:43:39 +05:30
PThorpe92
8c1c9e39a8 add docs for multiprocess access to sql-reference 2026-04-21 13:06:15 -04:00
Glauber Costa
e5c540aabd Add CREATE DOMAIN / DROP DOMAIN support
This is also present in Postgres and is part of the type system.
It will make a great addition to what we do.

Domains are much lighter than types: they are just normal types that
encode properties (like default, not null, and checks).

This is also dependent on the experimental flag for custom types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-19 21:43:09 -05:00
Glauber Costa
0bc101a6b3 feat: add array column type support with PostgreSQL-style array functions
Adds array column types (e.g. INTEGER[], TEXT[][]) stored as record-format
blobs with zero-copy ValueIterator streaming. Includes ARRAY[] constructor,
subscript access, comparison operators (@>, &&, =, <, etc.), 12 scalar
functions (array_length, array_append, array_cat, etc.), and array_agg
aggregate. Parser extended with ARRAY keyword, bracket subscripts, and
new operator tokens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 10:19:39 -04:00
Glauber Costa
923542e6de docs: add CLI reference (getting started, options, shell commands)
Add documentation for the tursodb CLI as a new top-level section in the
existing reference book. Covers command-line flags, all dot commands with
tested examples, output modes, and server modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 05:40:52 -08:00
Glauber Costa
b3eeabf38d add SQL language reference documentation
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>
2026-02-25 14:05:32 -06:00