MCPcopy Create free account
hub / github.com/InsForge/InsForge / initSqlParser

Function initSqlParser

backend/src/utils/sql-parser.ts:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 * Must be called and awaited before using analyzeQuery().
38 */
39export 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
48export interface DatabaseResourceUpdate {
49 type:

Callers 5

sql-parser.test.tsFile · 0.90
createAppFunction · 0.85
createMigrationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected