API reference › @evolu/common › local‑first/Storage › createBaseSqliteStorage
function createBaseSqliteStorage(deps: SqliteStorageDeps): BaseSqliteStorage;
Defined in: packages/common/src/local-first/Storage.ts:383
Creates a BaseSqliteStorage implementation.
Stateless Design
This implementation is fully stateless - it requires no in-memory state between invocations. All necessary metadata (timestamp bounds for insertion strategy optimization) is persisted in the evolu_usage table. This makes Evolu Relay suitable for stateless serverless environments like AWS Lambda, Cloudflare Workers with Durable Objects, and other platforms where memory doesn't persist between requests. While not extensively tested in all these environments yet, the stateless design should work well across them.