mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 10:36:01 +00:00
join wizard
This commit is contained in:
@@ -18,14 +18,15 @@ export default function analyseQuerySources(sql, sourceNames) {
|
||||
res.push({
|
||||
name: word,
|
||||
});
|
||||
}
|
||||
if (/^(where)|(inner)|(left)|(right)|(on)$/i.test(postWord)) {
|
||||
continue;
|
||||
}
|
||||
res.push({
|
||||
name: word,
|
||||
alias: postWord,
|
||||
});
|
||||
} else if (/^(where)|(inner)|(left)|(right)|(on)$/i.test(postWord)) {
|
||||
res.push({
|
||||
name: word,
|
||||
});
|
||||
} else
|
||||
res.push({
|
||||
name: word,
|
||||
alias: postWord,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user