add comments
This commit is contained in:
parent
ab556b1d43
commit
bd9da8a2dc
@ -38,6 +38,11 @@ function parseSyntax(sql, type) {
|
|||||||
return sqlSyntaxParser.parser.parseSyntax(sql1, sql2, type, false)
|
return sqlSyntaxParser.parser.parseSyntax(sql1, sql2, type, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自动补全提示
|
||||||
|
* @param {(string | array)} sql
|
||||||
|
* @param {string=} type
|
||||||
|
*/
|
||||||
function parserSql(sql, type) {
|
function parserSql(sql, type) {
|
||||||
if (typeof type == "undefined") {
|
if (typeof type == "undefined") {
|
||||||
type = "hive"
|
type = "hive"
|
||||||
|
Loading…
Reference in New Issue
Block a user