From 0301fe5f3743126541e0159aec0096d401be52fd Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Mon, 15 Nov 2021 18:58:37 +0100 Subject: [PATCH] code completion test --- packages/web/src/query/analyseQuerySources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/query/analyseQuerySources.ts b/packages/web/src/query/analyseQuerySources.ts index d9e25554..c3f590a5 100644 --- a/packages/web/src/query/analyseQuerySources.ts +++ b/packages/web/src/query/analyseQuerySources.ts @@ -19,7 +19,7 @@ export default function analyseQuerySources(sql, sourceNames) { name: word, }); } else if ( - /^((where)|(inner)|(left)|(right)|(on)|(join))$/i.test(postWord) || + /^((where)|(inner)|(left)|(right)|(on)|(join)|(set))$/i.test(postWord) || !/^[a-zA-Z][a-zA-Z0-9]*$/i.test(postWord) ) { res.push({