add comments

This commit is contained in:
HSunboy 2018-10-08 17:24:17 +08:00
parent ab556b1d43
commit bd9da8a2dc
2 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ function parseSyntax(sql, type) {
return sqlSyntaxParser.parser.parseSyntax(sql1, sql2, type, false)
}
/**
* 自动补全提示
* @param {(string | array)} sql
* @param {string=} type
*/
function parserSql(sql, type) {
if (typeof type == "undefined") {
type = "hive"

View File