mirror of
https://github.com/dbgate/dbgate
synced 2024-11-23 17:15:34 +00:00
code completion test
This commit is contained in:
parent
9512d04438
commit
0301fe5f37
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user