class default
implements Store
import { default } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/src/stores/MongoStore.ts";
Constructors
new
default(db: Database, collectionName?)Properties
db: Database
sessions: Collection<MongoSession>
Methods
createSession(sessionId: string, initialData: SessionData)
deleteSession(sessionId: string)
getSessionById(sessionId: string)
persistSessionData(sessionId: string, sessionData: SessionData)