Skip to main content
Multilingual TursoDB, MVCC & AI Agent database guides Read Engine Guide →
Turso Database SQL Reference

SQLite Compatibility

Turso compatibility with SQLite - supported features, known differences, and limitations

SQLite Compatibility

The authoritative compatibility reference is maintained at COMPAT.md in the repository root. It tracks the support status for every SQL statement, expression, function, PRAGMA, C API function, VDBE opcode, and extension.

Refer to that document for the current state of compatibility. It is updated alongside code changes to stay accurate.

Turso-Specific Extensions

These features extend Turso beyond SQLite compatibility:

Feature Description
CREATE TYPE User-defined types for STRICT tables
CREATE MATERIALIZED VIEW Live materialized views with incremental maintenance
BEGIN CONCURRENT Optimistic concurrent write transactions (MVCC)
Vector functions Vector storage, distance calculations, similarity search
Full-text search Tantivy-powered FTS with BM25 scoring
CDC Change Data Capture via PRAGMA
Encryption At-rest database encryption
Custom index methods CREATE INDEX … USING for FTS and custom access methods
stddev() Standard deviation aggregate function
DEFAULT in VALUES SQL-standard DEFAULT keyword in INSERT VALUES lists

See Also

Synced from official Turso documentation ( tursodatabase/turso-docs · MIT License) Official Docs ↗
Search
Press Esc to close · Powered by Pagefind