Properties
delete
delete: ((key) => Promise<boolean>)
Type declaration
-
- (key): Promise<boolean>
-
Returns Promise<boolean>
dump
dump: (() => Promise<any>)
Type declaration
-
- (): Promise<any>
-
Returns Promise<any>
get
get: ((key) => Promise<any>)
Type declaration
-
- (key): Promise<any>
-
Returns Promise<any>
load
load: ((data) => Promise<void>)
Type declaration
-
- (data): Promise<void>
-
Returns Promise<void>
set
set: ((key, value) => Promise<void>)
Type declaration
-
- (key, value): Promise<void>
-
Returns Promise<void>
Represents a key-value interface for a database.