lava-oushudb-dt-sql-parser/test/index.js
2018-07-03 11:33:53 +08:00

14 lines
405 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.filterComments(value))
console.log(`********************`)
}