Interface DatabaseInterface
Methods
close
- close(): Promise<void>
Returns Promise<void>
deleteAllRulesets
- deleteAllRulesets(): Promise<void>
Returns Promise<void>
deleteRuleset
- deleteRuleset(id): Promise<void>
Returns Promise<void>
getRuleset
- getRuleset(id): Promise<undefined | Ruleset>
Returns Promise<undefined | Ruleset>
saveRuleset
- saveRuleset(id, data): Promise<void>
Returns Promise<void>
Closes the connection to the Database.