Expand description
Database Adapter — unified interface for SQLite, Cloudflare D1, and Supabase backends
Configured via [database] in what.toml. Defaults to SQLite when no config is present.
Re-exports§
pub use d1::D1Database;pub use supabase::SupabaseDatabase;
Modules§
Structs§
- Collection
Query - Query options for collection retrieval
- Sqlite
Database - SQLite-backed database for collections and key-value storage. Uses a connection pool for concurrent reads and spawn_blocking to keep the async runtime responsive.
Enums§
- Database
Adapter - Unified database adapter — dispatches to SQLite, D1, or Supabase