()
| 27 | } |
| 28 | |
| 29 | getDb() { |
| 30 | if (!this.db) { |
| 31 | throw new Error("Database not connected. Call connect() first."); |
| 32 | } |
| 33 | return this.db; |
| 34 | } |
| 35 | |
| 36 | _validateAndQuoteIdentifier(identifier) { |
| 37 | if (!/^[a-zA-Z0-9_]+$/.test(identifier)) { |
no outgoing calls
no test coverage detected