code completion test

This commit is contained in:
Jan Prochazka 2021-11-15 18:58:37 +01:00
parent 9512d04438
commit 0301fe5f37

View File

@ -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({