lava-oushudb-dt-sql-parser/test/index.js

13 lines
344 B
JavaScript
Raw Normal View History

2018-07-02 18:01:01 +08:00
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(`********************`)
}