Constructors
constructor
- new Session(collection, id): Session
-
Properties
Private
Readonly
#collection
Accessors
$exists
- get $exists(): boolean
-
Returns boolean
createdAt
- get createdAt(): Date
-
Returns Date
current
- get current(): boolean
-
Returns boolean
name
- get name(): string
-
Returns string
Methods
delete
- delete(): Promise<void>
-
Returns Promise<void>
rename
- rename(name): Promise<void>
-
Returns Promise<void>
toString
- toString(): string
-
Returns string
String
Session Class