Skip to content

sqlSessionStore

sqlSessionStore(client, clock?): StrongMessageSessionStore

Defined in: packages/core/src/session/sql.ts:201

The session store for a SQLite-compatible Effect SQL client.

SQLite and D1 share the same compiler and placeholders, so both adapters get the same compare-and-swap, pagination and lease rules from this one implementation.

SqlClient

() => number

StrongMessageSessionStore