Module

x/oak_sessions/mod.ts>SqliteStore

Session middleware for Oak
Latest
class SqliteStore
implements Store
import { SqliteStore } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";

Constructors

new
SqliteStore(db: DB, tableName?)

Properties

db: DB
tableName: string

Methods

createSession(sessionId: string, initialData: SessionData)
deleteSession(sessionId: string)
getSessionById(sessionId: string)
persistSessionData(sessionId: string, sessionData: SessionData)
import SqliteStore
import { SqliteStore } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";