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********`)
|
2018-07-05 11:16:30 +08:00
|
|
|
// console.log(dtSqlParser.parser.parse(value));
|
2018-07-06 16:28:54 +08:00
|
|
|
console.log(dtSqlParser.filter.splitSql(value))
|
2018-07-02 18:01:01 +08:00
|
|
|
console.log(`********************`)
|
|
|
|
}
|
|
|
|
|