SQLite
SQLite is a lightweight, standard database. Every
val comes with its own private SQLite database that is accessible from
any of your vals via std/sqlite.
In addition to "scoped" SQLite databases per val, every organization and user also has their own global SQLite database: this is now a legacy system, but it will continue to work forever. Val-scoped SQLite databases are the recommended way to interact with SQLite for new vals.
Further reading
- Usage — How to use Val Town SQLite in your vals
- Interface — Admin panel for sqlite
- Migrations — How to manage your database schema
- ORMs — How to use ORMs with Val Town SQLite
- Global — Legacy account-scope SQLite database
Val Town SQLite is powered by Turso.
Limits
You can store 10mb on the free plan and up to 1gb on the paid plan. Contact us if you need more space.
Last updated