lava-oushudb-dt-sql-parser/test/index.js
2018-07-06 16:28:54 +08:00

14 lines
399 B
JavaScript

const dtSqlParser=require("../index");
const example=require("./example");
const testMap=Object.entries(example);
for(let [key,value] of testMap){
console.log(`******${key}********`)
console.log(value)
console.log(`******result********`)
// console.log(dtSqlParser.parser.parse(value));
console.log(dtSqlParser.filter.splitSql(value))
console.log(`********************`)
}