()
| 174 | } |
| 175 | |
| 176 | getDb(): Db { |
| 177 | this.#db ??= this.getClient().db(this.config.get('dbName')); |
| 178 | return this.#db; |
| 179 | } |
| 180 | |
| 181 | async execute(query: string): Promise<any> { |
| 182 | throw new Error(`${this.constructor.name} does not support generic execute method`); |