添加例子🌰 ,sql分割自动清除注释

This commit is contained in:
HSunboy
2018-07-05 11:29:39 +08:00
parent 152f186a2e
commit 01834251ee
2 changed files with 30 additions and 0 deletions

View File

@ -22,6 +22,7 @@ function cleanSql(sql) {
* @param {String} sqlText
*/
function splitSql(sqlText) {
sqlText=cleanSql(sqlText);
if (!sqlText) {
return sqlText;
}