Skip to main content

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:
FeatureDescription
CREATE TYPEUser-defined types for STRICT tables
CREATE MATERIALIZED VIEWLive materialized views with incremental maintenance
BEGIN CONCURRENTOptimistic concurrent write transactions (MVCC)
Vector functionsVector storage, distance calculations, similarity search
Full-text searchTantivy-powered FTS with BM25 scoring
CDCChange Data Capture via PRAGMA
EncryptionAt-rest database encryption
Custom index methodsCREATE INDEX … USING for FTS and custom access methods
stddev()Standard deviation aggregate function

See Also