()
| 37 | * Must be called and awaited before using analyzeQuery(). |
| 38 | */ |
| 39 | export async function initSqlParser(): Promise<void> { |
| 40 | if (initialized) { |
| 41 | return; |
| 42 | } |
| 43 | await loadModule(); |
| 44 | initialized = true; |
| 45 | logger.info('SQL parser initialized'); |
| 46 | } |
| 47 | |
| 48 | export interface DatabaseResourceUpdate { |
| 49 | type: |
no outgoing calls
no test coverage detected