class DatabaseSession
extends MemorySession
import { DatabaseSession } from "https://deno.land/x/grm@0.5.1/src/sessions/mod.ts";
Constructors
new
DatabaseSession(sessionName: string, connectionOptions: ConnectionOptions)Methods
getEntityRowsById(id: string | bigInt.BigInteger, exact?)
getEntityRowsByName(name: string)
getEntityRowsByPhone(phone: string)
getEntityRowsByUsername(username: string)
load()
processEntities(tlo: any)
setDC(): void
dcId: number,
serverAddress: string,
port: number,