This commit is contained in:
SPRINX0\prochazka
2025-04-28 14:19:48 +02:00
parent 857d0f3316
commit e41727a1fc
2 changed files with 2 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ function clean(segment) {
}
function extractIndexColumns(sql) {
if (!sql) return [];
const sqlText = sql // your variable
.replace(/\s+/g, ' ') // collapse whitespace
.replace(/--.*?$/gm, '') // strip line comments