class default
implements Store
import { default } from "https://deno.land/x/oak_sessions@v4.1.12/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)