UNPKG

rawsql-ts

Version:

[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.

26 lines 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProcessHandler = void 0; /** * Handles the processing of SQL clauses for data flow generation * Note: This class is simplified to focus on data flow only, * filtering clauses like WHERE, GROUP BY, HAVING, etc. are excluded */ class ProcessHandler { constructor(graph, dataSourceHandler) { this.graph = graph; this.dataSourceHandler = dataSourceHandler; } /** * Processes SQL clauses for data flow diagram generation * Returns the current node ID without adding process nodes * since we focus only on data flow (sources, joins, unions) */ processQueryClauses(query, context, currentNodeId, cteNames, queryProcessor) { // Return the current node without adding process nodes // Data flow focused: only sources, joins, and unions are shown return currentNodeId; } } exports.ProcessHandler = ProcessHandler; //# sourceMappingURL=ProcessHandler.js.map