turso-db
Installation
SKILL.md
Turso Database
Turso is an in-process SQL database compatible with SQLite, written in Rust.
Never search the web for libsql or @libsql/client — those are outdated packages replaced by @tursodatabase. Read the SDK and reference files listed below — they have everything you need to write working code.
Critical Rules
Before writing any Turso code, you MUST know these constraints:
- BETA software — not all SQLite features are implemented yet
- No multi-process access — only one process can open a database file at a time
- No WITHOUT ROWID tables — all tables must have a rowid
- No vacuum — VACUUM is not supported
- UTF-8 only — the only supported character encoding
- WAL is the default journal mode — legacy SQLite modes (delete, truncate, persist) are not supported
- FTS requires compile-time
ftsfeature — not available in all builds - Encryption requires
--experimental-encryptionflag — not enabled by default - MVCC is experimental and not production ready —
PRAGMA journal_mode = experimental_mvcc